Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 97.64 kB / 17 MB, free: 6.418 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.001363/0.001363, allocations: 188.7 kB / 17.89 MB, free: 5.945 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.403/1.403, allocations: 223.3 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2615/0.2615, allocations: 44.24 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 4 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4751/0.6184, allocations: 159 MB / 0.6158 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008883/0.6273, allocations: 5.092 MB / 0.6208 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.6287, allocations: 23.81 kB / 0.6208 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.6299, allocations: 262.4 kB / 0.6211 GB, free: 14.71 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004146/0.6341, allocations: 1.078 MB / 0.6221 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6368, allocations: 0.7546 MB / 0.6229 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.6397, allocations: 2.245 MB / 0.6251 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.6406, allocations: 384.9 kB / 0.6254 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.6431, allocations: 0.9029 MB / 0.6263 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.6445, allocations: 0.6658 MB / 0.627 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.6447, allocations: 32 kB / 0.627 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.6462, allocations: 451.4 kB / 0.6274 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004604/0.6467, allocations: 235.2 kB / 0.6276 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.6471, allocations: 161.4 kB / 0.6278 GB, free: 7.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.6487, allocations: 0.9179 MB / 0.6287 GB, free: 6.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6487, allocations: 4 kB / 0.6287 GB, free: 6.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.31e-06/0.6487, allocations: 0 / 0.6287 GB, free: 6.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.6487, allocations: 7.875 kB / 0.6287 GB, free: 6.879 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002574/0.6513, allocations: 0.9588 MB / 0.6296 GB, free: 5.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6514, allocations: 8.562 kB / 0.6296 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/0.6523, allocations: 131.1 kB / 0.6298 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.6533, allocations: 492.6 kB / 0.6302 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.6535, allocations: 108.4 kB / 0.6303 GB, free: 5.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.6536, allocations: 48 kB / 0.6304 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6551, allocations: 0.8174 MB / 0.6312 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.6551, allocations: 0 / 0.6312 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.6552, allocations: 31.98 kB / 0.6312 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.6553, allocations: 36.98 kB / 0.6313 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.6565, allocations: 0.6282 MB / 0.6319 GB, free: 3.461 MB / 462.1 MB 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.005093/0.6616, allocations: 3.959 MB / 0.6357 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.6622, allocations: 353.6 kB / 0.6361 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.6625, allocations: 169.3 kB / 0.6362 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.6627, allocations: 97.33 kB / 0.6363 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.6628, allocations: 46.72 kB / 0.6364 GB, free: 14.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.6628, allocations: 0 / 0.6364 GB, free: 14.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005554/0.6683, allocations: 1.656 MB / 0.638 GB, free: 12.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.6684, allocations: 140.5 kB / 0.6381 GB, free: 12.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.6692, allocations: 0.6016 MB / 0.6387 GB, free: 12.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.6692, allocations: 37.7 kB / 0.6387 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.6696, allocations: 370.8 kB / 0.6391 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6697, allocations: 134.1 kB / 0.6392 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.6697, allocations: 23.94 kB / 0.6392 GB, free: 11.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.6699, allocations: 374.8 kB / 0.6396 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.6703, allocations: 197.9 kB / 0.6398 GB, free: 10.92 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.671, allocations: 0.5086 MB / 0.6403 GB, free: 10.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.6718, allocations: 292.6 kB / 0.6406 GB, free: 9.977 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.6718, allocations: 15.89 kB / 0.6406 GB, free: 9.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002181/0.674, allocations: 0.8722 MB / 0.6414 GB, free: 9.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.6741, allocations: 14.75 kB / 0.6414 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.6741, allocations: 8 kB / 0.6415 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.6759, allocations: 320.5 kB / 0.6418 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.6765, allocations: 119.8 kB / 0.6419 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.678, allocations: 0.9336 MB / 0.6428 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.6788, allocations: 48.72 kB / 0.6428 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.679, allocations: 63.98 kB / 0.6429 GB, free: 7.559 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.6795, allocations: 245.6 kB / 0.6431 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.6798, allocations: 75.11 kB / 0.6432 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.6823, allocations: 0.8678 MB / 0.644 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.6823, allocations: 4 kB / 0.6441 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.6824, allocations: 0 / 0.6441 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.6824, allocations: 11.91 kB / 0.6441 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.6852, allocations: 1.446 MB / 0.6455 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6852, allocations: 0 / 0.6455 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.6866, allocations: 215.9 kB / 0.6457 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.6867, allocations: 24.84 kB / 0.6457 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.6868, allocations: 20 kB / 0.6457 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.6893, allocations: 2.692 MB / 0.6484 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6893, allocations: 3.938 kB / 0.6484 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.691, allocations: 0.813 MB / 0.6492 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6915, allocations: 196.2 kB / 0.6493 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.6917, allocations: 8 kB / 0.6493 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.6924, allocations: 27.98 kB / 0.6494 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6925, allocations: 44.02 kB / 0.6494 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.6926, allocations: 39.98 kB / 0.6495 GB, free: 368 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007868/0.6934, allocations: 431 kB / 0.6499 GB, free: 15.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6934, allocations: 0 / 0.6499 GB, free: 15.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001583/0.695, allocations: 251.9 kB / 0.6501 GB, free: 15.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.6962, allocations: 294.7 kB / 0.6504 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.698, allocations: 0.5504 MB / 0.6509 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.698, allocations: 4 kB / 0.6509 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.6994, allocations: 418.3 kB / 0.6513 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.7017, allocations: 339.4 kB / 0.6516 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.7051, allocations: 1.573 MB / 0.6532 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.7059, allocations: 0.9338 MB / 0.6541 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001669/0.7075, allocations: 466.3 kB / 0.6545 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.7079, allocations: 107.4 kB / 0.6546 GB, free: 10.97 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.708, allocations: 0 / 0.6546 GB, free: 10.97 MB / 494.1 MB Notification: Performance of Templates: time 0.03976/0.7477, allocations: 16.18 MB / 0.6704 GB, free: 10.93 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches