Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.0008585/0.0008585, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001826/0.001826, allocations: 170.3 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9226/0.9226, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.136e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3401/0.3401, allocations: 131.4 MB / 0.5601 GB, free: 13.3 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.3411, allocations: 0.9577 MB / 0.561 GB, free: 12.34 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.3412, allocations: 0 / 0.561 GB, free: 12.34 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.3414, allocations: 31.78 kB / 0.5611 GB, free: 12.31 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007568/0.3422, allocations: 278.2 kB / 0.5613 GB, free: 12.04 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3425, allocations: 125.6 kB / 0.5614 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3427, allocations: 183.1 kB / 0.5616 GB, free: 11.74 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3428, allocations: 6.922 kB / 0.5616 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.343, allocations: 123.6 kB / 0.5617 GB, free: 11.61 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.3431, allocations: 51.86 kB / 0.5618 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3431, allocations: 8 kB / 0.5618 GB, free: 11.55 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.3435, allocations: 247.6 kB / 0.562 GB, free: 11.31 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.3436, allocations: 31.84 kB / 0.5621 GB, free: 11.28 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.3436, allocations: 31.92 kB / 0.5621 GB, free: 11.25 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.3442, allocations: 323.3 kB / 0.5624 GB, free: 10.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3442, allocations: 0 / 0.5624 GB, free: 10.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3442, allocations: 0 / 0.5624 GB, free: 10.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3442, allocations: 3.938 kB / 0.5624 GB, free: 10.93 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003979/0.3446, allocations: 330.5 kB / 0.5627 GB, free: 10.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3446, allocations: 16.02 kB / 0.5627 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.3446, allocations: 34.75 kB / 0.5628 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.3457, allocations: 211.9 kB / 0.563 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.346, allocations: 153.6 kB / 0.5631 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.346, allocations: 7.938 kB / 0.5631 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.3461, allocations: 12 kB / 0.5631 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3464, allocations: 294.7 kB / 0.5634 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3464, allocations: 0 / 0.5634 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.3465, allocations: 9.5 kB / 0.5634 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3465, allocations: 3.938 kB / 0.5634 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.3467, allocations: 171.9 kB / 0.5636 GB, free: 9.625 MB / 474.7 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.0006729/0.3474, allocations: 0.5275 MB / 0.5641 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3476, allocations: 138.1 kB / 0.5642 GB, free: 8.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.3477, allocations: 72.31 kB / 0.5643 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3477, allocations: 0 / 0.5643 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3478, allocations: 38.56 kB / 0.5644 GB, free: 8.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3478, allocations: 4 kB / 0.5644 GB, free: 8.789 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002985/0.3508, allocations: 1.147 MB / 0.5655 GB, free: 7.598 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3508, allocations: 57.75 kB / 0.5655 GB, free: 7.531 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.3509, allocations: 112.3 kB / 0.5656 GB, free: 7.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3509, allocations: 29.7 kB / 0.5657 GB, free: 7.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3509, allocations: 104 kB / 0.5658 GB, free: 7.273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.351, allocations: 75.36 kB / 0.5658 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.351, allocations: 56.94 kB / 0.5659 GB, free: 7.141 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.3511, allocations: 318.8 kB / 0.5662 GB, free: 6.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.566e-05/0.3512, allocations: 67.97 kB / 0.5663 GB, free: 6.754 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3513, allocations: 101.6 kB / 0.5664 GB, free: 6.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3515, allocations: 189.9 kB / 0.5665 GB, free: 6.449 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3515, allocations: 4 kB / 0.5665 GB, free: 6.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003135/0.3519, allocations: 258.3 kB / 0.5668 GB, free: 6.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3519, allocations: 4 kB / 0.5668 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3519, allocations: 5.062 kB / 0.5668 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.352, allocations: 48.83 kB / 0.5668 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3522, allocations: 59.89 kB / 0.5669 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002855/0.3525, allocations: 0.5564 MB / 0.5674 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.3525, allocations: 20.02 kB / 0.5675 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3526, allocations: 24 kB / 0.5675 GB, free: 5.441 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 9.566e-05/0.3527, allocations: 123.4 kB / 0.5676 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3527, allocations: 7.953 kB / 0.5676 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.3532, allocations: 353.3 kB / 0.568 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3532, allocations: 3.938 kB / 0.568 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3532, allocations: 0 / 0.568 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3532, allocations: 4 kB / 0.568 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.3538, allocations: 0.5807 MB / 0.5685 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3538, allocations: 0 / 0.5685 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.354, allocations: 63.95 kB / 0.5686 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.354, allocations: 20.78 kB / 0.5686 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.354, allocations: 12 kB / 0.5686 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008124/0.3549, allocations: 1.263 MB / 0.5699 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3549, allocations: 7.875 kB / 0.5699 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.3553, allocations: 426.7 kB / 0.5703 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.3553, allocations: 7.984 kB / 0.5703 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3553, allocations: 8 kB / 0.5703 GB, free: 2.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3554, allocations: 11.98 kB / 0.5703 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3554, allocations: 36.08 kB / 0.5703 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.3555, allocations: 26.05 kB / 0.5704 GB, free: 2.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.3555, allocations: 95.56 kB / 0.5704 GB, free: 2.211 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3555, allocations: 0 / 0.5704 GB, free: 2.211 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.3558, allocations: 83.88 kB / 0.5705 GB, free: 2.129 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009619/0.3567, allocations: 1.008 MB / 0.5715 GB, free: 1.082 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.3571, allocations: 208.4 kB / 0.5717 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3571, allocations: 0 / 0.5717 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3573, allocations: 215.3 kB / 0.5719 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3576, allocations: 43.89 kB / 0.572 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3595, allocations: 2.008 MB / 0.5739 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.262e-05/0.3595, allocations: 94.09 kB / 0.574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.3597, allocations: 78.91 kB / 0.5741 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3599, allocations: 76.44 kB / 0.5742 GB, free: 14.24 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3599, allocations: 3.938 kB / 0.5742 GB, free: 14.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3836, allocations: 7.992 MB / 0.582 GB, free: 6.402 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.468, allocations: 9.547 kB / 0.582 GB, free: 6.398 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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: 10.627797795459628]