Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 230.5 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 53.37 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003297/0.1094, allocations: 1.58 MB / 427.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1105, allocations: 0.5337 MB / 428.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.1106, allocations: 3.938 kB / 428.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.12e-05/0.1107, allocations: 7.922 kB / 428.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1108, allocations: 15.92 kB / 428.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1111, allocations: 51.83 kB / 428.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1112, allocations: 43.78 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.1113, allocations: 8 kB / 428.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1114, allocations: 31.91 kB / 428.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.1115, allocations: 15.92 kB / 428.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1115, allocations: 0 / 428.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.1116, allocations: 8 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1116, allocations: 15.92 kB / 428.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1116, allocations: 27.75 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1118, allocations: 51.75 kB / 428.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1118, allocations: 4 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1118, allocations: 0 / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1118, allocations: 0 / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004859/0.1123, allocations: 371.1 kB / 429.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1123, allocations: 12.02 kB / 429.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.1124, allocations: 30.75 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1125, allocations: 20.88 kB / 429.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1128, allocations: 200.2 kB / 429.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1128, allocations: 4.359 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1128, allocations: 384 / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.113, allocations: 101.2 kB / 429.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.113, allocations: 0 / 429.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.113, allocations: 0 / 429.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.113, allocations: 4 kB / 429.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.1131, allocations: 23.92 kB / 429.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1135, allocations: 265.7 kB / 429.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.1136, allocations: 37.16 kB / 429.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.1136, allocations: 29.77 kB / 429.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1136, allocations: 0 / 429.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1137, allocations: 30.56 kB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1137, allocations: 0 / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.1139, allocations: 73.56 kB / 429.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.114, allocations: 81.36 kB / 430 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1141, allocations: 136.9 kB / 430.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1141, allocations: 29.7 kB / 430.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.1142, allocations: 88.12 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.1142, allocations: 0 / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1143, allocations: 29.55 kB / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1144, allocations: 318.8 kB / 430.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.1144, allocations: 16 kB / 430.6 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.1145, allocations: 17.7 kB / 430.6 MB, free: 80 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.1146, allocations: 29.7 kB / 430.7 MB, free: 44 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1146, allocations: 0 / 430.7 MB, free: 44 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001417/0.1147, allocations: 53.75 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1147, allocations: 8 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1147, allocations: 7.938 kB / 430.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1147, allocations: 0 / 430.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.1148, allocations: 7.984 kB / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1148, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.1149, allocations: 4 kB / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.1149, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.892e-05/0.1149, allocations: 121.7 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.115, allocations: 49.58 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.115, allocations: 11.88 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.115, allocations: 0 / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1151, allocations: 0 / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1151, allocations: 0 / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1152, allocations: 177.6 kB / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1152, allocations: 0 / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.1153, allocations: 7.984 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1153, allocations: 0 / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1153, allocations: 0 / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1153, allocations: 0 / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1153, allocations: 8.031 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1155, allocations: 156.2 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1156, allocations: 93.05 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1156, allocations: 7.984 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.1156, allocations: 0 / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1157, allocations: 4.031 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1157, allocations: 4 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.1157, allocations: 107.2 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1157, allocations: 0 / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.116, allocations: 4 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004981/0.1165, allocations: 0.6937 MB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1166, allocations: 23.92 kB / 432.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1166, allocations: 0 / 432.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.1166, allocations: 12 kB / 432.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1169, allocations: 18.88 kB / 432.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1183, allocations: 1.319 MB / 433.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1186, allocations: 0.6885 MB / 434.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.1186, allocations: 11.92 kB / 434.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1187, allocations: 11.44 kB / 434.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1187, allocations: 4 kB / 434.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1423, allocations: 1.492 MB / 435.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.677, allocations: 10.67 kB / 435.8 MB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.229434074019082]