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.0007855/0.0007856, allocations: 90.23 kB / 16.65 MB, free: 6.535 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.0008935/0.0008935, allocations: 176.6 kB / 17.56 MB, free: 6.18 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.249/1.249, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002338, allocations: 8 kB / 301.5 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.091, allocations: 50.42 MB / 351.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003497/0.09454, allocations: 2.662 MB / 354.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.09667, allocations: 1.177 MB / 355.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.09697, allocations: 8 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.09748, allocations: 119.5 kB / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.09804, allocations: 155.1 kB / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.09853, allocations: 146.9 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.0992, allocations: 418.1 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.0994, allocations: 86.81 kB / 356.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.09967, allocations: 159.3 kB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.09996, allocations: 167.2 kB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.1, allocations: 20 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1002, allocations: 55.92 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.1003, allocations: 63.69 kB / 357.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.1005, allocations: 196.8 kB / 357.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1009, allocations: 422.5 kB / 357.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1009, allocations: 4 kB / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1009, allocations: 0 / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1009, allocations: 0 / 357.8 MB, free: 13.52 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.0009513/0.1019, allocations: 0.6091 MB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.102, allocations: 12.03 kB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.1021, allocations: 67.19 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1022, allocations: 48.41 kB / 358.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1026, allocations: 323.8 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1026, allocations: 24.94 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.1027, allocations: 27.94 kB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.1032, allocations: 303.1 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1032, allocations: 3.906 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.1033, allocations: 12 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1033, allocations: 11.98 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.1036, allocations: 182.1 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1049, allocations: 0.8716 MB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.1054, allocations: 259.4 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1056, allocations: 105.4 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1057, allocations: 4.281 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.106, allocations: 166.5 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.106, allocations: 0 / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00215/0.1081, allocations: 1.313 MB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.1082, allocations: 183.9 kB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.1086, allocations: 336.5 kB / 362.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1086, allocations: 33.7 kB / 362.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1088, allocations: 180.6 kB / 362.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1089, allocations: 141.9 kB / 362.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.1089, allocations: 37.7 kB / 363 MB, free: 7.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1091, allocations: 350.7 kB / 363.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1092, allocations: 92.83 kB / 363.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1095, allocations: 185.2 kB / 363.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.1099, allocations: 246.2 kB / 363.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1099, allocations: 4 kB / 363.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005373/0.1104, allocations: 354.3 kB / 364.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1104, allocations: 4 kB / 364.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1104, allocations: 8.062 kB / 364.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.398e-05/0.1105, allocations: 16.86 kB / 364.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.1108, allocations: 91.89 kB / 364.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.1118, allocations: 1.284 MB / 365.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.112, allocations: 20.17 kB / 365.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.112, allocations: 12 kB / 365.6 MB, free: 5.094 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.0001813/0.1122, allocations: 168.5 kB / 365.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.1123, allocations: 39.53 kB / 365.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.049e-05/0.1124, allocations: 43.88 kB / 365.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1124, allocations: 7.938 kB / 365.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1124, allocations: 4 kB / 365.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005977/0.113, allocations: 0.6572 MB / 366.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1141, allocations: 0.8563 MB / 367.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.1142, allocations: 0 / 367.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1145, allocations: 79.84 kB / 367.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1145, allocations: 4.125 kB / 367.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1145, allocations: 12 kB / 367.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1145, allocations: 7.938 kB / 367.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1145, allocations: 0 / 367.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.1153, allocations: 0.5491 MB / 368 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1154, allocations: 132.8 kB / 368.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.1155, allocations: 11.98 kB / 368.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1157, allocations: 20.12 kB / 368.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1157, allocations: 27.91 kB / 368.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1158, allocations: 15.98 kB / 368.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.116, allocations: 239 kB / 368.5 MB, free: 2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.116, allocations: 4 kB / 368.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1164, allocations: 95.91 kB / 368.6 MB, free: 1.902 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.001862/0.1183, allocations: 1.401 MB / 370 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005698/0.1189, allocations: 374.7 kB / 370.3 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1189, allocations: 0 / 370.3 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1191, allocations: 132.3 kB / 370.5 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.1197, allocations: 89.03 kB / 370.5 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1399/0.2596, allocations: 3.895 MB / 374.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2599, allocations: 0.8078 MB / 375.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2601, allocations: 44.27 kB / 375.3 MB, free: 21.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2603, allocations: 127 kB / 375.4 MB, free: 21.93 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2603, allocations: 0 / 375.4 MB, free: 21.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2813, allocations: 8.518 MB / 383.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.2815, allocations: 290.5 kB / 384.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.176, allocations: 1.156 kB / 384.2 MB, free: 19.68 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