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) 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 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 102.6 kB / 17.58 MB, free: 5.426 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.00133/0.00133, allocations: 187.9 kB / 18.51 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB 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.001387/0.001387, allocations: 51.92 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.0905, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005039/0.09558, allocations: 2.984 MB / 330.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.09777, allocations: 1.189 MB / 331.6 MB, free: 184 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.09807, allocations: 7.938 kB / 331.6 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.09861, allocations: 163.2 kB / 331.7 MB, free: 12 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.09918, allocations: 186.9 kB / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.09961, allocations: 139.7 kB / 332 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.1001, allocations: 434.1 kB / 332.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1004, allocations: 107.7 kB / 332.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1006, allocations: 175.3 kB / 332.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1009, allocations: 191.2 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.1009, allocations: 28 kB / 333 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1011, allocations: 75.97 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1012, allocations: 79.69 kB / 333.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1014, allocations: 190.9 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.1019, allocations: 446.5 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1019, allocations: 0 / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1019, allocations: 4 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.102, allocations: 3.938 kB / 333.7 MB, free: 13.99 MB / 286.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.001004/0.103, allocations: 0.6906 MB / 334.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.103, allocations: 8.031 kB / 334.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.1031, allocations: 71.19 kB / 334.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.1032, allocations: 48.47 kB / 334.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1036, allocations: 332.3 kB / 334.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1036, allocations: 20.94 kB / 334.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1037, allocations: 35.86 kB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.1042, allocations: 303.1 kB / 335.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1042, allocations: 4 kB / 335.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1042, allocations: 12 kB / 335.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1042, allocations: 8 kB / 335.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1046, allocations: 182.1 kB / 335.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.1059, allocations: 0.8716 MB / 336.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.1064, allocations: 263.4 kB / 336.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1066, allocations: 93.39 kB / 336.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1067, allocations: 8.266 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.107, allocations: 164.8 kB / 336.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.107, allocations: 4 kB / 336.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002193/0.1092, allocations: 1.331 MB / 338.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.1093, allocations: 195.9 kB / 338.3 MB, free: 9.023 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.1097, allocations: 348.5 kB / 338.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1098, allocations: 33.7 kB / 338.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1099, allocations: 196.6 kB / 338.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.11, allocations: 141.9 kB / 339 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1102, allocations: 74.05 kB / 339.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1103, allocations: 350.7 kB / 339.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1105, allocations: 92.83 kB / 339.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1108, allocations: 181.3 kB / 339.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1112, allocations: 254.1 kB / 340 MB, free: 7.297 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1112, allocations: 4 kB / 340 MB, free: 7.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007423/0.1119, allocations: 346.3 kB / 340.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.112, allocations: 8 kB / 340.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.112, allocations: 0 / 340.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.1121, allocations: 28.92 kB / 340.4 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.1125, allocations: 87.88 kB / 340.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.1136, allocations: 1.398 MB / 341.8 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1138, allocations: 8 kB / 341.8 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1138, allocations: 16 kB / 341.9 MB, free: 5.258 MB / 286.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.0001774/0.114, allocations: 169.8 kB / 342 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1141, allocations: 47.56 kB / 342.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.1142, allocations: 47.95 kB / 342.1 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1142, allocations: 4 kB / 342.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1142, allocations: 0 / 342.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000603/0.1148, allocations: 0.6608 MB / 342.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.116, allocations: 0.8448 MB / 343.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.116, allocations: 0 / 343.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1164, allocations: 83.83 kB / 343.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1164, allocations: 4 kB / 343.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1164, allocations: 8 kB / 343.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1164, allocations: 3.984 kB / 343.7 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1164, allocations: 7.938 kB / 343.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.1172, allocations: 0.5503 MB / 344.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1174, allocations: 132.8 kB / 344.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.1175, allocations: 8 kB / 344.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1177, allocations: 23.98 kB / 344.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.1178, allocations: 35.78 kB / 344.5 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.1178, allocations: 12 kB / 344.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1181, allocations: 255 kB / 344.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1181, allocations: 0 / 344.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1185, allocations: 96 kB / 344.8 MB, free: 2.051 MB / 286.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.00191/0.1205, allocations: 1.414 MB / 346.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.1212, allocations: 386.2 kB / 346.6 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1212, allocations: 4 kB / 346.6 MB, free: 224 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.1214, allocations: 136 kB / 346.8 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.122, allocations: 93.91 kB / 346.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.1268, allocations: 3.71 MB / 350.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1271, allocations: 0.8156 MB / 351.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1273, allocations: 51.23 kB / 351.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1275, allocations: 135.4 kB / 351.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1275, allocations: 0 / 351.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.1577, allocations: 9.215 MB / 360.8 MB, free: 1.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.13, allocations: 16.45 kB / 360.8 MB, free: 1.816 MB / 302.1 MB (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 --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) 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) Reference file matches