Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.002779/0.002779, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002973/0.002973, allocations: 169.6 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.492/1.492, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.104e-05, allocations: 6.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4598/0.4598, allocations: 143.8 MB / 490.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.4634, allocations: 3.081 MB / 493.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.4635, allocations: 2.75 kB / 493.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.464, allocations: 61.23 kB / 493.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.4667, allocations: 1.057 MB / 495 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.4672, allocations: 199.9 kB / 495.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.4677, allocations: 359 kB / 495.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.4677, allocations: 6.969 kB / 495.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.468, allocations: 196.2 kB / 495.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.4682, allocations: 107.8 kB / 495.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.4683, allocations: 11.38 kB / 495.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.4707, allocations: 1.3 MB / 497.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.4708, allocations: 82.89 kB / 497.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.471, allocations: 83.23 kB / 497.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.4725, allocations: 1.05 MB / 498.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4725, allocations: 0 / 498.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4725, allocations: 4 kB / 498.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4725, allocations: 0 / 498.3 MB, free: 7.027 MB / 362.7 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.0007798/0.4733, allocations: 0.5827 MB / 498.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4733, allocations: 8.375 kB / 498.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.4747, allocations: 262.7 kB / 499.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4751, allocations: 189.9 kB / 499.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.4751, allocations: 16.02 kB / 499.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.4752, allocations: 25.7 kB / 499.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.4757, allocations: 0.49 MB / 499.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4758, allocations: 3.938 kB / 499.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.4758, allocations: 9.125 kB / 499.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4758, allocations: 3.031 kB / 499.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.4763, allocations: 247.8 kB / 0.4884 GB, free: 5.855 MB / 362.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.001546/0.4778, allocations: 0.794 MB / 0.4892 GB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.4782, allocations: 207 kB / 0.4894 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.4783, allocations: 105.3 kB / 0.4895 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.4797, allocations: 300.7 kB / 0.4898 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4798, allocations: 43.86 kB / 0.4898 GB, free: 5.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.283e-06/0.4798, allocations: 0 / 0.4898 GB, free: 5.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001148/0.4809, allocations: 354 kB / 0.4902 GB, free: 5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.481, allocations: 91.39 kB / 0.4903 GB, free: 4.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4811, allocations: 181.8 kB / 0.4904 GB, free: 4.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4811, allocations: 31.48 kB / 0.4905 GB, free: 4.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.4812, allocations: 159.4 kB / 0.4906 GB, free: 4.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.4812, allocations: 119.8 kB / 0.4907 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4813, allocations: 68.91 kB / 0.4908 GB, free: 4.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4815, allocations: 0.4992 MB / 0.4913 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.4816, allocations: 83.61 kB / 0.4914 GB, free: 3.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.4818, allocations: 216.8 kB / 0.4916 GB, free: 3.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.4823, allocations: 325.3 kB / 0.4919 GB, free: 3.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4823, allocations: 0 / 0.4919 GB, free: 3.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005574/0.4828, allocations: 332.3 kB / 0.4922 GB, free: 3.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4829, allocations: 5.219 kB / 0.4922 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4829, allocations: 6.797 kB / 0.4922 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4829, allocations: 6.625 kB / 0.4922 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.4832, allocations: 66.91 kB / 0.4923 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4832, allocations: 9.188 kB / 0.4923 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4834, allocations: 30.91 kB / 0.4923 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.4835, allocations: 19.39 kB / 0.4923 GB, free: 3.461 MB / 362.7 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.0001216/0.4836, allocations: 179.3 kB / 0.4925 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4837, allocations: 28.73 kB / 0.4925 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.4844, allocations: 327.2 kB / 0.4929 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4844, allocations: 2.938 kB / 0.4929 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4844, allocations: 0 / 0.4929 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4844, allocations: 7.969 kB / 0.4929 GB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.4849, allocations: 251.3 kB / 0.4931 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4849, allocations: 0 / 0.4931 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.4853, allocations: 57.88 kB / 0.4932 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4853, allocations: 2.562 kB / 0.4932 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4853, allocations: 6.719 kB / 0.4932 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4853, allocations: 6.625 kB / 0.4932 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4853, allocations: 7.938 kB / 0.4932 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.4861, allocations: 0.6124 MB / 0.4938 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.4861, allocations: 17.53 kB / 0.4938 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.4861, allocations: 9.531 kB / 0.4938 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.4864, allocations: 13.3 kB / 0.4938 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.4865, allocations: 24.17 kB / 0.4938 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.4865, allocations: 15.95 kB / 0.4939 GB, free: 2.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.4865, allocations: 131.1 kB / 0.494 GB, free: 2.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4865, allocations: 0 / 0.494 GB, free: 2.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009261/0.4875, allocations: 220.2 kB / 0.4942 GB, free: 2.438 MB / 362.7 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.0009975/0.4885, allocations: 449.1 kB / 0.4946 GB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.4889, allocations: 241.8 kB / 0.4948 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4889, allocations: 0.625 kB / 0.4948 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.4891, allocations: 147.5 kB / 0.495 GB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.4898, allocations: 87.17 kB / 0.4951 GB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.4907, allocations: 0.5746 MB / 0.4956 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4908, allocations: 121.5 kB / 0.4957 GB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.4911, allocations: 74.23 kB / 0.4958 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.4911, allocations: 32.44 kB / 0.4959 GB, free: 1.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4911, allocations: 0 / 0.4959 GB, free: 1.41 MB / 362.7 MB Notification: Performance of Templates: time 0.01783/0.509, allocations: 8.466 MB / 0.5041 GB, free: 9.605 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.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: 5.908419506973587]