Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00128/0.00128, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.00125/0.00125, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.6 MB / 231.8 MB, free: 3.977 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 342.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08794, allocations: 49.12 MB / 391.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004622/0.09257, allocations: 3.018 MB / 394.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.09461, allocations: 1.189 MB / 395.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.09473, allocations: 8 kB / 395.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.0952, allocations: 167.1 kB / 395.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.09562, allocations: 186.9 kB / 395.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.09599, allocations: 155.6 kB / 396.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.0965, allocations: 437.9 kB / 396.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.09667, allocations: 75.47 kB / 396.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.09691, allocations: 187.3 kB / 396.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.09718, allocations: 199.1 kB / 396.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.09723, allocations: 32 kB / 397 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.09736, allocations: 67.98 kB / 397 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.09747, allocations: 87.62 kB / 397.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.09766, allocations: 187 kB / 397.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.09821, allocations: 454.1 kB / 397.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09821, allocations: 4 kB / 397.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09821, allocations: 0 / 397.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.09822, allocations: 0 / 397.8 MB, free: 2.418 MB / 318.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.001069/0.09929, allocations: 0.7135 MB / 398.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.09933, allocations: 12.03 kB / 398.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.09943, allocations: 67.23 kB / 398.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.09951, allocations: 48.66 kB / 398.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.09999, allocations: 324.7 kB / 398.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1, allocations: 28.88 kB / 398.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.1001, allocations: 31.94 kB / 399 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.1006, allocations: 307 kB / 399.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1006, allocations: 3.953 kB / 399.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1007, allocations: 12 kB / 399.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1007, allocations: 12 kB / 399.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.101, allocations: 178.1 kB / 399.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1024, allocations: 0.8679 MB / 400.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.103, allocations: 247.3 kB / 400.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1032, allocations: 89.39 kB / 400.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1032, allocations: 8.281 kB / 400.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.1035, allocations: 168.8 kB / 400.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.1035, allocations: 0 / 400.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002402/0.1059, allocations: 1.317 MB / 402.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.106, allocations: 187.9 kB / 402.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.1064, allocations: 352.5 kB / 402.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.1065, allocations: 37.7 kB / 402.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1066, allocations: 200.7 kB / 402.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1068, allocations: 150.8 kB / 403.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1069, allocations: 70.14 kB / 403.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.107, allocations: 354.7 kB / 403.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1072, allocations: 92.83 kB / 403.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.1075, allocations: 181.3 kB / 403.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.1079, allocations: 250.2 kB / 404 MB, free: 11.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1079, allocations: 3.938 kB / 404 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005941/0.1085, allocations: 350.5 kB / 404.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1085, allocations: 4 kB / 404.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1085, allocations: 3.984 kB / 404.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.985e-05/0.1086, allocations: 20.86 kB / 404.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.1089, allocations: 95.95 kB / 404.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.1102, allocations: 1.39 MB / 405.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1104, allocations: 16.03 kB / 405.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1104, allocations: 12 kB / 405.9 MB, free: 9.691 MB / 334.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.000211/0.1106, allocations: 169.8 kB / 406.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.1107, allocations: 43.7 kB / 406.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.1108, allocations: 47.94 kB / 406.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1108, allocations: 4 kB / 406.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1108, allocations: 4.062 kB / 406.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007151/0.1115, allocations: 0.6608 MB / 406.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1127, allocations: 0.8493 MB / 407.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1127, allocations: 3.938 kB / 407.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.1131, allocations: 80.02 kB / 407.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1131, allocations: 4 kB / 407.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1131, allocations: 12 kB / 407.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1131, allocations: 4.062 kB / 407.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1131, allocations: 4 kB / 407.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.1139, allocations: 0.5545 MB / 408.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.114, allocations: 136.9 kB / 408.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.1141, allocations: 12 kB / 408.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1143, allocations: 15.98 kB / 408.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1144, allocations: 31.84 kB / 408.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.1144, allocations: 16 kB / 408.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.1147, allocations: 263 kB / 408.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1147, allocations: 0 / 408.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.1151, allocations: 92 kB / 408.9 MB, free: 6.473 MB / 334.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.002497/0.1176, allocations: 1.397 MB / 410.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.1182, allocations: 370.3 kB / 410.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1182, allocations: 0 / 410.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1185, allocations: 124.4 kB / 410.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.1191, allocations: 109.2 kB / 410.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.1238, allocations: 3.686 MB / 414.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1243, allocations: 0.8118 MB / 415.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.1245, allocations: 43.27 kB / 415.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.1247, allocations: 131.4 kB / 415.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1247, allocations: 4 kB / 415.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.163, allocations: 9.482 MB / 425 MB, free: 6.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.28, allocations: 7.984 kB / 425 MB, free: 6.004 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.635100352112204]