Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001692/0.001692, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002341/0.002341, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.92 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001953/0.001953, allocations: 59.91 kB / 0.4938 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1897/0.5509, allocations: 153.3 MB / 0.7074 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.5552, allocations: 3.158 MB / 0.7105 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.5553, allocations: 7.875 kB / 0.7105 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.5557, allocations: 67.64 kB / 0.7106 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.5584, allocations: 1.064 MB / 0.7116 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.559, allocations: 211.2 kB / 0.7118 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.5595, allocations: 354.7 kB / 0.7122 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.5596, allocations: 13.3 kB / 0.7122 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.5599, allocations: 163.4 kB / 0.7123 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.5602, allocations: 123.5 kB / 0.7125 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.5602, allocations: 12 kB / 0.7125 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.5634, allocations: 1.601 MB / 0.714 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.5635, allocations: 79.78 kB / 0.7141 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.5636, allocations: 107.6 kB / 0.7142 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.5656, allocations: 1.001 MB / 0.7152 GB, free: 5.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5656, allocations: 0 / 0.7152 GB, free: 5.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5656, allocations: 0 / 0.7152 GB, free: 5.957 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5656, allocations: 0 / 0.7152 GB, free: 5.957 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00123/0.5669, allocations: 493.1 kB / 0.7157 GB, free: 5.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5669, allocations: 16.03 kB / 0.7157 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.5669, allocations: 4.562 kB / 0.7157 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/0.567, allocations: 58.72 kB / 0.7157 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.5685, allocations: 200.6 kB / 0.7159 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.5689, allocations: 201.6 kB / 0.7161 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5689, allocations: 16.38 kB / 0.7161 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.569, allocations: 23.94 kB / 0.7162 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.5697, allocations: 369.7 kB / 0.7165 GB, free: 4.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5697, allocations: 0 / 0.7165 GB, free: 4.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.5697, allocations: 12 kB / 0.7165 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5698, allocations: 7.984 kB / 0.7165 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.5704, allocations: 395.8 kB / 0.7169 GB, free: 4.121 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.5722, allocations: 0.7843 MB / 0.7177 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.5727, allocations: 213.1 kB / 0.7179 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5729, allocations: 114 kB / 0.718 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.5744, allocations: 317.5 kB / 0.7183 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.5745, allocations: 34.56 kB / 0.7183 GB, free: 2.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 1.482e-06/0.5745, allocations: 0 / 0.7183 GB, free: 2.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.001273/0.5758, allocations: 372.5 kB / 0.7187 GB, free: 2.223 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.5758, allocations: 77.11 kB / 0.7188 GB, free: 2.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.5759, allocations: 110.1 kB / 0.7189 GB, free: 2.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.576, allocations: 37.64 kB / 0.7189 GB, free: 1.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.576, allocations: 116.5 kB / 0.719 GB, free: 1.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.5762, allocations: 119 kB / 0.7191 GB, free: 1.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5763, allocations: 58.03 kB / 0.7192 GB, free: 1.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.5764, allocations: 334.8 kB / 0.7195 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.5766, allocations: 92.59 kB / 0.7196 GB, free: 1.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.5769, allocations: 183.5 kB / 0.7198 GB, free: 1.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.5774, allocations: 298.1 kB / 0.72 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5774, allocations: 4 kB / 0.72 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006637/0.5781, allocations: 341.4 kB / 0.7204 GB, free: 368 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5781, allocations: 4 kB / 0.7204 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5781, allocations: 4 kB / 0.7204 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5781, allocations: 4 kB / 0.7204 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.5785, allocations: 79.83 kB / 0.7205 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.5785, allocations: 8.062 kB / 0.7205 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.5787, allocations: 19.89 kB / 0.7205 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.5787, allocations: 19.98 kB / 0.7205 GB, free: 228 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.5789, allocations: 149.7 kB / 0.7207 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.579, allocations: 19.91 kB / 0.7207 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.5797, allocations: 324 kB / 0.721 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5797, allocations: 4 kB / 0.721 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5798, allocations: 0 / 0.721 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5798, allocations: 3.984 kB / 0.721 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.5804, allocations: 313.9 kB / 0.7213 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5804, allocations: 0 / 0.7213 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.5807, allocations: 59.89 kB / 0.7213 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5808, allocations: 4 kB / 0.7213 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.5808, allocations: 8 kB / 0.7214 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5808, allocations: 4 kB / 0.7214 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5808, allocations: 4 kB / 0.7214 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.5816, allocations: 0.5062 MB / 0.7219 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5817, allocations: 19.83 kB / 0.7219 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.5817, allocations: 12.05 kB / 0.7219 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.582, allocations: 11.98 kB / 0.7219 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.5821, allocations: 31.89 kB / 0.7219 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.5821, allocations: 12 kB / 0.7219 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.5822, allocations: 87.27 kB / 0.722 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5822, allocations: 0 / 0.722 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001036/0.5833, allocations: 239.4 kB / 0.7223 GB, free: 14.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.002389/0.5856, allocations: 1.368 MB / 0.7236 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.5862, allocations: 248.2 kB / 0.7238 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5862, allocations: 0 / 0.7238 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.5864, allocations: 119.8 kB / 0.7239 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.5871, allocations: 87.23 kB / 0.724 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.591, allocations: 2.687 MB / 0.7266 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5914, allocations: 0.7324 MB / 0.7274 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.5917, allocations: 77.95 kB / 0.7274 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5919, allocations: 59.42 kB / 0.7275 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.5919, allocations: 0 / 0.7275 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3001/0.892, allocations: 10.91 MB / 0.7381 GB, free: 177 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.29, allocations: 14.09 kB / 0.7382 GB, free: 177 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.558438559004571]