Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 119.9 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 189.2 kB / 20.73 MB, free: 2.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09351, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004345/0.09785, allocations: 3.013 MB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.09982, allocations: 1.278 MB / 422.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.09994, allocations: 4 kB / 422.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1004, allocations: 139.2 kB / 422.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1008, allocations: 178.9 kB / 422.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1011, allocations: 179.5 kB / 422.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.1016, allocations: 430.1 kB / 423 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1018, allocations: 75.47 kB / 423 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.102, allocations: 167.3 kB / 423.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1023, allocations: 191.2 kB / 423.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.1023, allocations: 35.94 kB / 423.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1024, allocations: 63.92 kB / 423.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1025, allocations: 83.67 kB / 423.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1027, allocations: 183 kB / 423.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1032, allocations: 450 kB / 424.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1032, allocations: 0 / 424.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1032, allocations: 0 / 424.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1033, allocations: 0 / 424.2 MB, free: 6.176 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001046/0.1043, allocations: 0.6826 MB / 424.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1043, allocations: 15.97 kB / 424.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1044, allocations: 67.23 kB / 425 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.1045, allocations: 52.59 kB / 425 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.105, allocations: 332 kB / 425.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.105, allocations: 28.94 kB / 425.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.105, allocations: 27.94 kB / 425.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.1055, allocations: 303.1 kB / 425.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1056, allocations: 4 kB / 425.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.1056, allocations: 12 kB / 425.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1056, allocations: 8 kB / 425.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1059, allocations: 182.1 kB / 425.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1073, allocations: 0.8679 MB / 426.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.1078, allocations: 243.4 kB / 427 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.108, allocations: 85.39 kB / 427.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.108, allocations: 12.27 kB / 427.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1083, allocations: 165.7 kB / 427.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.1083, allocations: 0 / 427.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002324/0.1106, allocations: 1.313 MB / 428.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1107, allocations: 183.9 kB / 428.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.1111, allocations: 332.5 kB / 429.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.1111, allocations: 37.7 kB / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1113, allocations: 184.7 kB / 429.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1114, allocations: 150.7 kB / 429.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1115, allocations: 70.14 kB / 429.5 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1117, allocations: 350.7 kB / 429.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1118, allocations: 88.83 kB / 429.9 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1121, allocations: 185.2 kB / 430.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.1125, allocations: 254.2 kB / 430.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1125, allocations: 0 / 430.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005752/0.1131, allocations: 362.5 kB / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1131, allocations: 6.344 kB / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1131, allocations: 0 / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.178e-05/0.1132, allocations: 24.73 kB / 430.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1135, allocations: 92.02 kB / 430.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1147, allocations: 1.394 MB / 432.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1149, allocations: 16.03 kB / 432.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1149, allocations: 12 kB / 432.3 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.1151, allocations: 177 kB / 432.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1152, allocations: 43.7 kB / 432.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1153, allocations: 39.88 kB / 432.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1153, allocations: 4 kB / 432.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1153, allocations: 4.062 kB / 432.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006755/0.116, allocations: 0.6612 MB / 433.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1172, allocations: 0.8492 MB / 434 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1172, allocations: 0 / 434 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.1175, allocations: 76.02 kB / 434.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1175, allocations: 8 kB / 434.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1175, allocations: 15.98 kB / 434.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1175, allocations: 0 / 434.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1175, allocations: 4 kB / 434.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.1183, allocations: 0.5467 MB / 434.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1185, allocations: 132.9 kB / 434.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1185, allocations: 12 kB / 434.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1187, allocations: 12 kB / 434.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1188, allocations: 31.89 kB / 434.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.1188, allocations: 16 kB / 434.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.119, allocations: 231.1 kB / 435.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.119, allocations: 4 kB / 435.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00038/0.1194, allocations: 103.9 kB / 435.2 MB, free: 10.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002509/0.1219, allocations: 1.391 MB / 436.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006258/0.1226, allocations: 367.4 kB / 437 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1226, allocations: 0 / 437 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.1228, allocations: 124.3 kB / 437.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1233, allocations: 112.4 kB / 437.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.1279, allocations: 3.619 MB / 440.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1283, allocations: 0.8041 MB / 441.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.1285, allocations: 47.25 kB / 441.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1287, allocations: 131.4 kB / 441.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1287, allocations: 0 / 441.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/0.3351, allocations: 9.384 MB / 451.2 MB, free: 30.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.05, allocations: 6.344 kB / 451.2 MB, free: 30.07 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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: 14.363579780329019]