Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002755/0.002755, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00286/0.00286, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.617e-05, allocations: 10.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3231/0.3231, allocations: 145.3 MB / 412.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005832/0.3289, allocations: 4.061 MB / 416.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3291, allocations: 4 kB / 416.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.3295, allocations: 99.34 kB / 416.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.3327, allocations: 1.236 MB / 418 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3338, allocations: 394.5 kB / 418.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.3345, allocations: 478.6 kB / 418.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.3345, allocations: 9.797 kB / 418.8 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.3351, allocations: 279.1 kB / 419.1 MB, free: 1.969 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3353, allocations: 135.6 kB / 419.2 MB, free: 1.836 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.3354, allocations: 16 kB / 419.3 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.3395, allocations: 1.846 MB / 421.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3397, allocations: 147.6 kB / 421.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.3399, allocations: 131.7 kB / 421.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.3428, allocations: 1.609 MB / 423 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3428, allocations: 4 kB / 423 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3428, allocations: 0 / 423 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3428, allocations: 0 / 423 MB, free: 14.08 MB / 378.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.002099/0.3449, allocations: 0.7838 MB / 423.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.345, allocations: 12.91 kB / 423.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.3458, allocations: 164.5 kB / 423.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.3463, allocations: 220.4 kB / 424.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.3464, allocations: 24.59 kB / 424.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3465, allocations: 35.98 kB / 424.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3477, allocations: 0.7242 MB / 424.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3477, allocations: 0 / 424.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.3477, allocations: 12 kB / 425 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.3478, allocations: 24.5 kB / 425 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.3488, allocations: 373.7 kB / 425.3 MB, free: 11.57 MB / 378.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.003124/0.3519, allocations: 1.163 MB / 426.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.3528, allocations: 325.8 kB / 426.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.3532, allocations: 151.3 kB / 427 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/0.3554, allocations: 0.4923 MB / 427.5 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3555, allocations: 41.33 kB / 427.5 MB, free: 9.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.3555, allocations: 4 kB / 427.5 MB, free: 9.32 MB / 378.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.01446/0.37, allocations: 3.017 MB / 430.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.37, allocations: 85.11 kB / 430.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3703, allocations: 246.4 kB / 430.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.3703, allocations: 37.7 kB / 430.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3705, allocations: 227.3 kB / 431.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.3707, allocations: 190.4 kB / 431.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.371, allocations: 131.9 kB / 431.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.3713, allocations: 0.5196 MB / 431.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.372, allocations: 265.2 kB / 432.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.3729, allocations: 491.8 kB / 432.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.3745, allocations: 0.7531 MB / 433.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3745, allocations: 4 kB / 433.4 MB, free: 3.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002028/0.3765, allocations: 0.7987 MB / 434.2 MB, free: 2.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3766, allocations: 8 kB / 434.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3766, allocations: 4.625 kB / 434.2 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.3768, allocations: 67.34 kB / 434.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.378, allocations: 163.8 kB / 434.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3792, allocations: 1.631 MB / 436.1 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.38, allocations: 31.97 kB / 436.1 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.3801, allocations: 40.11 kB / 436.2 MB, free: 188 kB / 378.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.1044/0.4845, allocations: 195.8 kB / 436.4 MB, free: 143.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4847, allocations: 44.44 kB / 436.4 MB, free: 143.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.4867, allocations: 0.78 MB / 437.2 MB, free: 143.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4867, allocations: 8.969 kB / 437.2 MB, free: 143.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4867, allocations: 4.375 kB / 437.2 MB, free: 143.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4867, allocations: 4.266 kB / 437.2 MB, free: 143.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.4896, allocations: 1.555 MB / 438.8 MB, free: 142.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.4896, allocations: 2.891 kB / 438.8 MB, free: 142.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4906, allocations: 132.1 kB / 438.9 MB, free: 142.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.4908, allocations: 58.5 kB / 439 MB, free: 142.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.4909, allocations: 25.27 kB / 439 MB, free: 142.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.4921, allocations: 3.525 MB / 442.5 MB, free: 139 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4921, allocations: 6.359 kB / 442.5 MB, free: 139 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.4944, allocations: 1.241 MB / 443.8 MB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.4944, allocations: 25.14 kB / 443.8 MB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.4945, allocations: 18.84 kB / 443.8 MB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.4953, allocations: 22.41 kB / 443.8 MB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.4954, allocations: 51.12 kB / 443.9 MB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.4954, allocations: 34.56 kB / 443.9 MB, free: 138.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.4955, allocations: 159 kB / 444.1 MB, free: 138.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4955, allocations: 0 / 444.1 MB, free: 138.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001304/0.4968, allocations: 391.2 kB / 444.4 MB, free: 138.1 MB / 378.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.002418/0.4992, allocations: 0.888 MB / 445.3 MB, free: 138 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.501, allocations: 0.6731 MB / 446 MB, free: 137.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.501, allocations: 5.375 kB / 446 MB, free: 137.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.5019, allocations: 0.6742 MB / 446.7 MB, free: 137.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.5028, allocations: 128.7 kB / 446.8 MB, free: 137.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5044, allocations: 0.8649 MB / 447.7 MB, free: 136.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.5046, allocations: 176.9 kB / 447.8 MB, free: 136.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008013/0.5054, allocations: 179.1 kB / 448 MB, free: 136.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.5057, allocations: 67.28 kB / 448.1 MB, free: 136.7 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5057, allocations: 0 / 448.1 MB, free: 136.7 MB / 378.7 MB Notification: Performance of Templates: time 0.02096/0.5267, allocations: 16.53 MB / 464.6 MB, free: 123.8 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.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: 5.874968866002746]