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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 104.7 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.06 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09121, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004404/0.09565, allocations: 3.025 MB / 352.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.09774, allocations: 1.251 MB / 354 MB, free: 368 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.09793, allocations: 7.938 kB / 354 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.0984, allocations: 131.4 kB / 354.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.09881, allocations: 147.2 kB / 354.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.09922, allocations: 154.3 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.09966, allocations: 434 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.09986, allocations: 111.5 kB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1, allocations: 175.3 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1003, allocations: 187.2 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.1003, allocations: 28 kB / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1005, allocations: 63.98 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.1005, allocations: 71.7 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1007, allocations: 190.9 kB / 355.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1011, allocations: 438.8 kB / 356.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1012, allocations: 0 / 356.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1012, allocations: 4 kB / 356.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1012, allocations: 0 / 356.1 MB, free: 14.25 MB / 302.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.0009228/0.1021, allocations: 0.6829 MB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1022, allocations: 8.031 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/0.1023, allocations: 75.19 kB / 356.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1023, allocations: 44.38 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1027, allocations: 311.9 kB / 357.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1027, allocations: 20.94 kB / 357.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.1028, allocations: 31.94 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1032, allocations: 307.1 kB / 357.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1033, allocations: 4 kB / 357.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1033, allocations: 11.98 kB / 357.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1033, allocations: 8 kB / 357.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1037, allocations: 186.1 kB / 357.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1049, allocations: 0.8676 MB / 358.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.1054, allocations: 259.4 kB / 358.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1056, allocations: 101.4 kB / 358.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1056, allocations: 4.281 kB / 358.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.106, allocations: 166.6 kB / 359.1 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.106, allocations: 4 kB / 359.1 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002225/0.1083, allocations: 1.308 MB / 360.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1084, allocations: 191.9 kB / 360.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1087, allocations: 328.5 kB / 360.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.1088, allocations: 37.7 kB / 361 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1089, allocations: 184.5 kB / 361.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.109, allocations: 141.9 kB / 361.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1091, allocations: 78.12 kB / 361.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1093, allocations: 350.7 kB / 361.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1094, allocations: 88.84 kB / 361.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1097, allocations: 177.3 kB / 362 MB, free: 7.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.1101, allocations: 254.1 kB / 362.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1101, allocations: 0 / 362.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006542/0.1107, allocations: 354.3 kB / 362.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1108, allocations: 8 kB / 362.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1108, allocations: 0 / 362.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.301e-05/0.1109, allocations: 20.98 kB / 362.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1112, allocations: 87.89 kB / 362.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1127, allocations: 1.398 MB / 364.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.113, allocations: 15.91 kB / 364.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.113, allocations: 16 kB / 364.1 MB, free: 5.617 MB / 302.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.0002589/0.1133, allocations: 169.8 kB / 364.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.1134, allocations: 43.56 kB / 364.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1135, allocations: 39.88 kB / 364.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1135, allocations: 4 kB / 364.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1135, allocations: 0 / 364.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009031/0.1144, allocations: 0.6612 MB / 365 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.1159, allocations: 0.8486 MB / 365.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1159, allocations: 0 / 365.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1162, allocations: 75.89 kB / 365.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1163, allocations: 4 kB / 365.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1163, allocations: 8 kB / 365.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1163, allocations: 4 kB / 366 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1163, allocations: 4 kB / 366 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.1171, allocations: 0.5531 MB / 366.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1173, allocations: 128.8 kB / 366.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.1173, allocations: 12 kB / 366.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1175, allocations: 23.92 kB / 366.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.1176, allocations: 27.91 kB / 366.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.1177, allocations: 16 kB / 366.7 MB, free: 2.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.1179, allocations: 231.1 kB / 366.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1179, allocations: 0 / 366.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.1184, allocations: 99.98 kB / 367 MB, free: 2.445 MB / 302.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.00184/0.1202, allocations: 1.401 MB / 368.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007418/0.121, allocations: 390.9 kB / 368.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.121, allocations: 0 / 368.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1212, allocations: 147.8 kB / 369 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.1218, allocations: 104.8 kB / 369.1 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1468/0.2685, allocations: 3.761 MB / 372.8 MB, free: 23.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2689, allocations: 0.8085 MB / 373.6 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.2691, allocations: 51.28 kB / 373.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.2693, allocations: 132.3 kB / 373.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2693, allocations: 1.219 kB / 373.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2926, allocations: 9.007 MB / 382.8 MB, free: 21.2 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.2929, allocations: 280.5 kB / 383.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.342, allocations: 0 / 383.1 MB, free: 20.82 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches