Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001375/0.001375, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001511/0.001511, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.411e-05, allocations: 6.219 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3196/0.3196, allocations: 130 MB / 429 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.3237, allocations: 2.744 MB / 431.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3238, allocations: 0 / 431.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.3242, allocations: 63.55 kB / 431.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.3269, allocations: 1.057 MB / 432.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3274, allocations: 200.1 kB / 433 MB, free: 7.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.3279, allocations: 358.5 kB / 433.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.3279, allocations: 9.797 kB / 433.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.3283, allocations: 203.4 kB / 433.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3285, allocations: 99.75 kB / 433.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.3285, allocations: 12.56 kB / 433.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.331, allocations: 1.301 MB / 435 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3311, allocations: 83.78 kB / 435.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3313, allocations: 87.81 kB / 435.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3328, allocations: 1.048 MB / 436.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3328, allocations: 0 / 436.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3328, allocations: 2.156 kB / 436.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3328, allocations: 3.938 kB / 436.2 MB, free: 4.656 MB / 382.1 MB 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.00091/0.3338, allocations: 477.7 kB / 436.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3338, allocations: 15.98 kB / 436.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3353, allocations: 204.6 kB / 436.9 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3357, allocations: 181.6 kB / 437.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3357, allocations: 16.75 kB / 437.1 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.3357, allocations: 16.38 kB / 437.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.3365, allocations: 0.5819 MB / 437.7 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3365, allocations: 3.938 kB / 437.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.3366, allocations: 12 kB / 437.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3366, allocations: 4 kB / 437.7 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.3372, allocations: 415.6 kB / 438.1 MB, free: 2.645 MB / 382.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.001712/0.339, allocations: 0.707 MB / 438.8 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.3394, allocations: 213.5 kB / 439.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3396, allocations: 127.7 kB / 439.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.3412, allocations: 293.7 kB / 439.5 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3412, allocations: 39.19 kB / 439.5 MB, free: 1.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.3412, allocations: 0 / 439.5 MB, free: 1.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001323/0.3425, allocations: 375 kB / 439.9 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3426, allocations: 82.14 kB / 439.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3427, allocations: 113.8 kB / 440.1 MB, free: 0.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.3427, allocations: 33.7 kB / 440.1 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.3428, allocations: 116.5 kB / 440.2 MB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.3429, allocations: 111 kB / 440.3 MB, free: 368 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.343, allocations: 65.97 kB / 440.4 MB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3432, allocations: 326.8 kB / 440.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3434, allocations: 96.61 kB / 440.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3437, allocations: 183.5 kB / 441 MB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.3442, allocations: 300.1 kB / 441.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3442, allocations: 0.875 kB / 441.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006787/0.3449, allocations: 345.4 kB / 441.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3449, allocations: 8 kB / 441.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3449, allocations: 4 kB / 441.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3449, allocations: 7.938 kB / 441.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3453, allocations: 67.91 kB / 441.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3453, allocations: 11.98 kB / 441.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3456, allocations: 31.72 kB / 441.7 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.3456, allocations: 19.69 kB / 441.8 MB, free: 14.84 MB / 398.1 MB 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.0001571/0.3458, allocations: 141.8 kB / 441.9 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3459, allocations: 19.91 kB / 441.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.3466, allocations: 325.1 kB / 442.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3466, allocations: 4 kB / 442.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3466, allocations: 0 / 442.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3466, allocations: 0 / 442.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.3471, allocations: 243 kB / 442.5 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3471, allocations: 4 kB / 442.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.3475, allocations: 51.97 kB / 442.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3475, allocations: 3.984 kB / 442.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.3475, allocations: 12 kB / 442.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3475, allocations: 7.875 kB / 442.5 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3475, allocations: 0 / 442.5 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.3484, allocations: 0.5103 MB / 443.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.3484, allocations: 11.89 kB / 443.1 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.3484, allocations: 15.98 kB / 443.1 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.3488, allocations: 8 kB / 443.1 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.3488, allocations: 23.95 kB / 443.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.3489, allocations: 15.98 kB / 443.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.3489, allocations: 87.28 kB / 443.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3489, allocations: 0 / 443.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000907/0.3498, allocations: 231.4 kB / 443.4 MB, free: 13.09 MB / 398.1 MB 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.0012/0.351, allocations: 458.1 kB / 443.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.3516, allocations: 253 kB / 444.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3516, allocations: 0 / 444.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.3519, allocations: 124.1 kB / 444.3 MB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.3526, allocations: 78.95 kB / 444.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3536, allocations: 0.5833 MB / 444.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3538, allocations: 115.9 kB / 445 MB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.3541, allocations: 74.77 kB / 445.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3542, allocations: 36.5 kB / 445.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3542, allocations: 0 / 445.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of Templates: time 0.01541/0.3696, allocations: 8.379 MB / 453.5 MB, free: 2.949 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 4.857336044311523]