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.001072/0.001072, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001258/0.001258, allocations: 165 kB / 23.8 MB, free: 0.7773 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.095/1.095, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.2031/0.2031, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.313e-05, allocations: 10.25 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4309/0.4309, allocations: 144.2 MB / 491.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.434, allocations: 3.079 MB / 494.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.4342, allocations: 0 / 494.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.4346, allocations: 59.55 kB / 495 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.4373, allocations: 1.06 MB / 496 MB, free: 8.379 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.4378, allocations: 204.2 kB / 496.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.4383, allocations: 356.7 kB / 496.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.4384, allocations: 11.77 kB / 496.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.4388, allocations: 201 kB / 496.8 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.439, allocations: 98.3 kB / 496.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.439, allocations: 15.56 kB / 496.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.4416, allocations: 1.3 MB / 498.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.4418, allocations: 83.02 kB / 498.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.4419, allocations: 85.23 kB / 498.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4438, allocations: 1.006 MB / 499.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4438, allocations: 0 / 499.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4438, allocations: 0 / 499.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4438, allocations: 4 kB / 499.4 MB, free: 7.246 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.000941/0.4447, allocations: 0.5754 MB / 499.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.4448, allocations: 8 kB / 499.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.4458, allocations: 252.9 kB / 0.4885 GB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.446, allocations: 186.5 kB / 0.4886 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4461, allocations: 19.81 kB / 0.4887 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.4461, allocations: 25.55 kB / 0.4887 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.4465, allocations: 479.5 kB / 0.4891 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4465, allocations: 3.938 kB / 0.4891 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.4465, allocations: 10.25 kB / 0.4892 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4466, allocations: 5.219 kB / 0.4892 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.4468, allocations: 207.9 kB / 0.4894 GB, free: 6.074 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.00109/0.4479, allocations: 0.7585 MB / 0.4901 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.4482, allocations: 194 kB / 0.4903 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4483, allocations: 89.73 kB / 0.4904 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/0.4491, allocations: 305.9 kB / 0.4907 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4492, allocations: 43.88 kB / 0.4907 GB, free: 5.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.785e-06/0.4492, allocations: 0 / 0.4907 GB, free: 5.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007598/0.4499, allocations: 318.2 kB / 0.491 GB, free: 5.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.4499, allocations: 83.42 kB / 0.4911 GB, free: 5.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.45, allocations: 181.7 kB / 0.4913 GB, free: 4.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.45, allocations: 31.95 kB / 0.4913 GB, free: 4.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.4501, allocations: 157.2 kB / 0.4914 GB, free: 4.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.4501, allocations: 120.9 kB / 0.4916 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.4502, allocations: 62.28 kB / 0.4916 GB, free: 4.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.4503, allocations: 0.4945 MB / 0.4921 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.4504, allocations: 65.58 kB / 0.4922 GB, free: 4.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4505, allocations: 180.7 kB / 0.4923 GB, free: 3.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.4507, allocations: 279.4 kB / 0.4926 GB, free: 3.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4507, allocations: 2.5 kB / 0.4926 GB, free: 3.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003518/0.4511, allocations: 281.5 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4511, allocations: 5.844 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4511, allocations: 2.781 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4511, allocations: 7.469 kB / 0.4929 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.4513, allocations: 76.2 kB / 0.493 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.4513, allocations: 6.312 kB / 0.493 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4514, allocations: 32.23 kB / 0.493 GB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.4515, allocations: 18.22 kB / 0.493 GB, free: 3.672 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.0001161/0.4516, allocations: 180 kB / 0.4932 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.4517, allocations: 25.83 kB / 0.4932 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.4521, allocations: 287.1 kB / 0.4935 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.4521, allocations: 6.578 kB / 0.4935 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4521, allocations: 0 / 0.4935 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4521, allocations: 5.938 kB / 0.4935 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.4524, allocations: 230.8 kB / 0.4937 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4524, allocations: 0 / 0.4937 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4526, allocations: 54.56 kB / 0.4938 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4526, allocations: 3 kB / 0.4938 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4526, allocations: 9.844 kB / 0.4938 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4526, allocations: 6.125 kB / 0.4938 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4526, allocations: 7.984 kB / 0.4938 GB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.4531, allocations: 0.5543 MB / 0.4943 GB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.4531, allocations: 17.5 kB / 0.4944 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.4532, allocations: 13.81 kB / 0.4944 GB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4533, allocations: 16.98 kB / 0.4944 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4534, allocations: 23.53 kB / 0.4944 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4534, allocations: 12.8 kB / 0.4944 GB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.4534, allocations: 135.2 kB / 0.4945 GB, free: 2.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4534, allocations: 2.906 kB / 0.4945 GB, free: 2.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008398/0.4543, allocations: 229.6 kB / 0.4948 GB, free: 2.641 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.0007947/0.4551, allocations: 432.8 kB / 0.4952 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.4554, allocations: 201.6 kB / 0.4954 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4554, allocations: 4.062 kB / 0.4954 GB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4555, allocations: 121.2 kB / 0.4955 GB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.4559, allocations: 93.47 kB / 0.4956 GB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.457, allocations: 0.5679 MB / 0.4961 GB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.4571, allocations: 92.34 kB / 0.4962 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.4573, allocations: 70.61 kB / 0.4963 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.4574, allocations: 32.09 kB / 0.4963 GB, free: 1.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4574, allocations: 0 / 0.4963 GB, free: 1.75 MB / 362.7 MB Notification: Performance of Templates: time 0.01303/0.4704, allocations: 9.796 MB / 0.5059 GB, free: 8.723 MB / 378.7 MB " [Timeout remaining time 660] 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","",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.147377070039511]