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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 216 kB / 24.48 MB, free: 3.867 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.392/1.392, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 55.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2572, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004205/0.2614, allocations: 2.794 MB / 399.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2633, allocations: 1.139 MB / 400.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2635, allocations: 12.81 kB / 400.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.264, allocations: 158.4 kB / 400.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.2645, allocations: 190.5 kB / 400.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2648, allocations: 154.9 kB / 400.8 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.2653, allocations: 446.7 kB / 401.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2655, allocations: 68.33 kB / 401.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2657, allocations: 179.3 kB / 401.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.2659, allocations: 184.1 kB / 401.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.266, allocations: 33.16 kB / 401.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2661, allocations: 67.66 kB / 401.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2663, allocations: 88.25 kB / 401.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2664, allocations: 154 kB / 402 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.2671, allocations: 463.6 kB / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2671, allocations: 0 / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2671, allocations: 0 / 402.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2671, allocations: 1.188 kB / 402.4 MB, free: 5.262 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.001022/0.2681, allocations: 0.6317 MB / 403.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2681, allocations: 13.33 kB / 403.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.269e-05/0.2682, allocations: 69.16 kB / 403.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.2683, allocations: 48.25 kB / 403.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.2687, allocations: 265.4 kB / 403.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2688, allocations: 20.28 kB / 403.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.2688, allocations: 33.31 kB / 403.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.2693, allocations: 0.5278 MB / 404 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2693, allocations: 5.031 kB / 404 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2694, allocations: 12.2 kB / 404 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2694, allocations: 6.531 kB / 404 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.2697, allocations: 181.7 kB / 404.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.2709, allocations: 0.772 MB / 405 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.2714, allocations: 250.7 kB / 405.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2716, allocations: 97.39 kB / 405.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2716, allocations: 7.578 kB / 405.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.2719, allocations: 275 kB / 405.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.2719, allocations: 1.281 kB / 405.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002082/0.274, allocations: 1.106 MB / 406.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.2741, allocations: 186.8 kB / 406.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.2744, allocations: 358.1 kB / 407.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2744, allocations: 32.45 kB / 407.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2745, allocations: 197.4 kB / 407.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.2746, allocations: 143.5 kB / 407.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.2747, allocations: 73.22 kB / 407.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.2748, allocations: 356.7 kB / 408 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.275, allocations: 91.3 kB / 408.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.2752, allocations: 311.3 kB / 408.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.2756, allocations: 250.1 kB / 408.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2756, allocations: 9.188 kB / 408.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005133/0.2761, allocations: 351.3 kB / 409 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2761, allocations: 10.06 kB / 409 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2761, allocations: 1.219 kB / 409 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-05/0.2762, allocations: 21.11 kB / 409.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.2765, allocations: 88.66 kB / 409.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009673/0.2775, allocations: 1.29 MB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2777, allocations: 11.88 kB / 410.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.2777, allocations: 19.09 kB / 410.5 MB, free: 15.34 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.0001992/0.2779, allocations: 170.5 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.278, allocations: 45.02 kB / 410.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.2786, allocations: 353 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2786, allocations: 4.062 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2786, allocations: 0 / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006912/0.2793, allocations: 0.6573 MB / 411.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.2805, allocations: 0.7918 MB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2805, allocations: 1.344 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2808, allocations: 78.19 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2808, allocations: 3.406 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.2809, allocations: 11.98 kB / 412.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2809, allocations: 4.031 kB / 412.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2809, allocations: 1.188 kB / 412.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.2817, allocations: 0.5705 MB / 413.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.2818, allocations: 64.75 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.2819, allocations: 17.39 kB / 413.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.2821, allocations: 13.88 kB / 413.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2821, allocations: 32.84 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.2822, allocations: 15.59 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.2825, allocations: 255.1 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2825, allocations: 0 / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.2829, allocations: 98.16 kB / 413.6 MB, free: 13.32 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 (41): * Single equations (assignments): 39 * 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.002661/0.2855, allocations: 1.455 MB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.2862, allocations: 361.9 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2862, allocations: 1.812 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2864, allocations: 141.1 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.287, allocations: 101.8 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.2919, allocations: 3.684 MB / 419.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2921, allocations: 216.5 kB / 419.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.2923, allocations: 55.92 kB / 419.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.2925, allocations: 128.8 kB / 419.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of SimCode: time 1.103e-06/0.2925, allocations: 0 / 419.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.3347, allocations: 10.46 MB / 430.2 MB, free: 104 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.53, allocations: 4.062 kB / 430.2 MB, free: 100 kB / 334.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.915502071846277]