Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.0009185/0.0009185, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001513/0.001513, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9308/0.9308, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.099e-05, allocations: 6.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2327/0.2327, allocations: 145.7 MB / 419.9 MB, free: 15 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.2361, allocations: 4.026 MB / 423.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.2362, allocations: 0 / 423.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.2366, allocations: 99.36 kB / 424 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.2386, allocations: 1.244 MB / 425.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.2393, allocations: 402.5 kB / 425.6 MB, free: 9.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.2397, allocations: 466.7 kB / 426.1 MB, free: 8.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.2397, allocations: 6.344 kB / 426.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.2401, allocations: 303 kB / 426.4 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.2403, allocations: 135.6 kB / 426.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.2403, allocations: 16 kB / 426.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.2426, allocations: 1.861 MB / 428.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2427, allocations: 147.7 kB / 428.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2428, allocations: 131.7 kB / 428.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2444, allocations: 1.555 MB / 430.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2445, allocations: 0 / 430.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2445, allocations: 0 / 430.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2445, allocations: 0 / 430.2 MB, free: 4.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001137/0.2456, allocations: 0.7805 MB / 431 MB, free: 3.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.2456, allocations: 8.031 kB / 431 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.2461, allocations: 148.4 kB / 431.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2463, allocations: 224.3 kB / 431.4 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2463, allocations: 20.59 kB / 431.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.2464, allocations: 32 kB / 431.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.2469, allocations: 0.6741 MB / 432.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2469, allocations: 0 / 432.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.2469, allocations: 12 kB / 432.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2469, allocations: 16.5 kB / 432.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.2472, allocations: 227.3 kB / 432.4 MB, free: 2.352 MB / 346.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.001353/0.2485, allocations: 1.077 MB / 433.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2488, allocations: 257.9 kB / 433.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2489, allocations: 104.1 kB / 433.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009511/0.2499, allocations: 471.8 kB / 434.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2499, allocations: 41.39 kB / 434.3 MB, free: 348 kB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.2499, allocations: 4 kB / 434.3 MB, free: 344 kB / 346.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.005696/0.2556, allocations: 2.376 MB / 436.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2556, allocations: 89.05 kB / 436.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2557, allocations: 243.7 kB / 437 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.2558, allocations: 33.7 kB / 437 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.2559, allocations: 231.3 kB / 437.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.256, allocations: 186.4 kB / 437.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2561, allocations: 123.9 kB / 437.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2562, allocations: 0.5079 MB / 438.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2564, allocations: 145.2 kB / 438.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.2566, allocations: 367.7 kB / 438.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.2571, allocations: 0.5216 MB / 439.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2571, allocations: 4 kB / 439.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006507/0.2577, allocations: 0.5581 MB / 439.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2577, allocations: 16.02 kB / 439.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2577, allocations: 4 kB / 439.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/0.2579, allocations: 67.22 kB / 439.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.2584, allocations: 159.8 kB / 439.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/0.2588, allocations: 1.608 MB / 441.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.2591, allocations: 23.98 kB / 441.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.2592, allocations: 35.97 kB / 441.6 MB, free: 8.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.2593, allocations: 196.4 kB / 441.8 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.2594, allocations: 47.75 kB / 441.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.2602, allocations: 0.5771 MB / 442.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2602, allocations: 11.98 kB / 442.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2602, allocations: 4 kB / 442.4 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2602, allocations: 0 / 442.4 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.2617, allocations: 1.268 MB / 443.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2617, allocations: 4 kB / 443.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.2622, allocations: 131.8 kB / 443.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.2622, allocations: 47.28 kB / 443.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2623, allocations: 24.2 kB / 443.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.2634, allocations: 3.414 MB / 447.3 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2634, allocations: 4.031 kB / 447.3 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000858/0.2643, allocations: 0.9566 MB / 448.2 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.2643, allocations: 23.81 kB / 448.3 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.2643, allocations: 16 kB / 448.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2647, allocations: 27.97 kB / 448.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.2647, allocations: 51.73 kB / 448.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.2648, allocations: 31.97 kB / 448.4 MB, free: 1.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.2648, allocations: 159.1 kB / 448.5 MB, free: 1.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2648, allocations: 0 / 448.5 MB, free: 1.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.2657, allocations: 395.2 kB / 448.9 MB, free: 0.8438 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.001436/0.2671, allocations: 0.8903 MB / 449.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.2677, allocations: 461.2 kB / 450.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2677, allocations: 0 / 450.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.2683, allocations: 0.5707 MB / 450.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2687, allocations: 129.9 kB / 451 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2698, allocations: 0.7972 MB / 451.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.2699, allocations: 110.5 kB / 451.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004537/0.2704, allocations: 155.2 kB / 452 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.2708, allocations: 214 kB / 452.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2708, allocations: 0 / 452.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01954/0.2903, allocations: 20.4 MB / 472.6 MB, free: 9.105 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5201873308978975]