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.005245/0.005245, allocations: 114.2 kB / 21.97 MB, free: 5.223 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.001644/0.001644, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.307/1.307, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="cs",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.001656/0.001656, allocations: 51.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003567/0.2346, allocations: 3.017 MB / 400.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.2361, allocations: 1.214 MB / 401.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2362, allocations: 7.781 kB / 401.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.2366, allocations: 162.7 kB / 401.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.237, allocations: 189.1 kB / 401.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.2373, allocations: 155.2 kB / 401.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.2377, allocations: 439.5 kB / 402.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.2378, allocations: 75.64 kB / 402.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.238, allocations: 185.7 kB / 402.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.2383, allocations: 203.7 kB / 402.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.2383, allocations: 28.75 kB / 402.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.2384, allocations: 71.91 kB / 402.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.2385, allocations: 86.62 kB / 402.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2387, allocations: 190.1 kB / 403.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.2391, allocations: 462.8 kB / 403.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2391, allocations: 3.938 kB / 403.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2391, allocations: 0 / 403.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2391, allocations: 0 / 403.6 MB, free: 4.977 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.0008061/0.2399, allocations: 0.6227 MB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.24, allocations: 13.67 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.373e-05/0.24, allocations: 14.62 kB / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.2401, allocations: 72.14 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.2402, allocations: 52.06 kB / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.2405, allocations: 274.7 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2405, allocations: 24.25 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2406, allocations: 35.92 kB / 404.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.241, allocations: 328.1 kB / 405 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.241, allocations: 6.578 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.2411, allocations: 12.09 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2411, allocations: 7.188 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.2414, allocations: 197.1 kB / 405.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2426, allocations: 0.8863 MB / 406.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.2431, allocations: 266 kB / 406.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2433, allocations: 115.9 kB / 406.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2433, allocations: 5.297 kB / 406.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.2436, allocations: 190.6 kB / 406.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.2436, allocations: 7.875 kB / 406.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.002987/0.2466, allocations: 1.606 MB / 408.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2466, allocations: 188 kB / 408.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.2469, allocations: 355 kB / 408.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2469, allocations: 38.58 kB / 408.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.247, allocations: 187 kB / 409 MB, free: 1.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2471, allocations: 220.8 kB / 409.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2472, allocations: 101.7 kB / 409.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.2473, allocations: 356.1 kB / 409.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2475, allocations: 125.2 kB / 409.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.2477, allocations: 222.7 kB / 410 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.2481, allocations: 341.8 kB / 410.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2482, allocations: 0 / 410.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005964/0.2487, allocations: 454.2 kB / 410.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2488, allocations: 9.125 kB / 410.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2488, allocations: 6.062 kB / 410.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.348e-05/0.2488, allocations: 21.2 kB / 410.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.2492, allocations: 123.9 kB / 411 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009749/0.2502, allocations: 1.296 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.2504, allocations: 17.44 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2504, allocations: 20.22 kB / 412.3 MB, free: 15.2 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 (69): * Single equations (assignments): 68 * 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.0002059/0.2507, allocations: 180.8 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.2507, allocations: 53.02 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.2515, allocations: 462.9 kB / 413 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2515, allocations: 6.875 kB / 413 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.2515, allocations: 0.7969 kB / 413 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007886/0.2523, allocations: 0.7529 MB / 413.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.2539, allocations: 1.062 MB / 414.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2539, allocations: 1.531 kB / 414.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.2543, allocations: 111 kB / 414.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2543, allocations: 4.875 kB / 414.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2543, allocations: 17.62 kB / 414.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.2543, allocations: 12.19 kB / 414.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2543, allocations: 3.328 kB / 414.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.2553, allocations: 0.718 MB / 415.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2554, allocations: 75.8 kB / 415.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.2555, allocations: 18.86 kB / 415.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.2557, allocations: 23.38 kB / 415.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.2558, allocations: 37.55 kB / 415.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.2558, allocations: 18.12 kB / 415.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.2561, allocations: 263.9 kB / 416.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2561, allocations: 3.938 kB / 416.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.2565, allocations: 118.7 kB / 416.2 MB, free: 12.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 ($outputAlias_s1,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 (60): * Single equations (assignments): 58 * 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.002896/0.2594, allocations: 1.633 MB / 417.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.2601, allocations: 454.3 kB / 418.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2601, allocations: 5 kB / 418.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.2604, allocations: 180.3 kB / 418.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.261, allocations: 104.4 kB / 418.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.2661, allocations: 4.114 MB / 422.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.2666, allocations: 0.8237 MB / 423.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.2668, allocations: 55.02 kB / 423.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.267, allocations: 160.4 kB / 423.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.267, allocations: 0 / 423.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.3032, allocations: 11.05 MB / 434.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.11, allocations: 4 kB / 434.8 MB, free: 12.61 MB / 350.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] "Error: Could not read variable cylinder1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat. Warning: Get data of variable cylinder1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.468700357014313]