Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.61 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09681, allocations: 50.55 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004362/0.1012, allocations: 3.011 MB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1036, allocations: 1.41 MB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.1038, allocations: 4 kB / 362 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.1044, allocations: 151.1 kB / 362.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.105, allocations: 210.7 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.1055, allocations: 135.6 kB / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1061, allocations: 438.1 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1064, allocations: 119.6 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.1066, allocations: 171.3 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.107, allocations: 191.1 kB / 363.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.107, allocations: 32 kB / 363.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1072, allocations: 56 kB / 363.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.1073, allocations: 79.62 kB / 363.6 MB, free: 8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1075, allocations: 187 kB / 363.7 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.1079, allocations: 454.7 kB / 364.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1079, allocations: 0 / 364.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.108, allocations: 0 / 364.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.108, allocations: 0 / 364.2 MB, free: 7.371 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.001107/0.1091, allocations: 0.679 MB / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1091, allocations: 12.03 kB / 364.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.1093, allocations: 71.19 kB / 364.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1094, allocations: 48.38 kB / 365 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1098, allocations: 316.5 kB / 365.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1098, allocations: 20.94 kB / 365.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1099, allocations: 27.94 kB / 365.3 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.1104, allocations: 307.1 kB / 365.6 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.1104, allocations: 11.94 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1105, allocations: 12 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1105, allocations: 4 kB / 365.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1108, allocations: 186.1 kB / 365.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1121, allocations: 0.8716 MB / 366.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.1126, allocations: 258.7 kB / 367 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1128, allocations: 97.39 kB / 367.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1129, allocations: 4.281 kB / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.1132, allocations: 178.6 kB / 367.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.1132, allocations: 3.938 kB / 367.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002144/0.1154, allocations: 1.315 MB / 368.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.1155, allocations: 183.9 kB / 368.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.1158, allocations: 340.5 kB / 369.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1158, allocations: 33.7 kB / 369.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1159, allocations: 188.5 kB / 369.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.116, allocations: 142 kB / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.1162, allocations: 78.03 kB / 369.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1163, allocations: 354.7 kB / 369.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.1164, allocations: 88.84 kB / 370 MB, free: 1.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.1167, allocations: 177.3 kB / 370.1 MB, free: 1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.1171, allocations: 250.2 kB / 370.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1172, allocations: 0 / 370.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005776/0.1177, allocations: 350.5 kB / 370.7 MB, free: 400 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1178, allocations: 8 kB / 370.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1178, allocations: 0 / 370.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.1179, allocations: 16.86 kB / 370.7 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1182, allocations: 91.83 kB / 370.8 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1581/0.2763, allocations: 1.38 MB / 372.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.2766, allocations: 17.58 kB / 372.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.2767, allocations: 17.39 kB / 372.2 MB, free: 18.77 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.0001925/0.2769, allocations: 164.7 kB / 372.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.2769, allocations: 40.22 kB / 372.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/0.277, allocations: 47.73 kB / 372.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.277, allocations: 3.625 kB / 372.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.277, allocations: 0.6562 kB / 372.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005079/0.2776, allocations: 0.6604 MB / 373.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.2787, allocations: 0.8502 MB / 374 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2787, allocations: 6.078 kB / 374 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.279, allocations: 76.88 kB / 374.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.279, allocations: 6.375 kB / 374.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.279, allocations: 10.03 kB / 374.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.279, allocations: 2.25 kB / 374.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.279, allocations: 5.484 kB / 374.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.2797, allocations: 0.5517 MB / 374.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.2798, allocations: 142.8 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.2799, allocations: 8.391 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2801, allocations: 17.02 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.2802, allocations: 25.41 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.2802, allocations: 10.19 kB / 374.9 MB, free: 17.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.2805, allocations: 249.2 kB / 375.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2805, allocations: 0 / 375.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.2809, allocations: 98.05 kB / 375.2 MB, free: 17.37 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.001687/0.2826, allocations: 1.393 MB / 376.6 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006197/0.2832, allocations: 394 kB / 377 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2832, allocations: 1.375 kB / 377 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2834, allocations: 135.7 kB / 377.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.284, allocations: 92.42 kB / 377.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.2877, allocations: 3.694 MB / 380.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2879, allocations: 0.8034 MB / 381.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.2881, allocations: 47 kB / 381.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2883, allocations: 133.2 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2883, allocations: 0 / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04667/0.335, allocations: 9.207 MB / 391.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.3, allocations: 8.234 kB / 391.1 MB, free: 10.36 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches