Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001584/0.001584, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001705/0.001705, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3609, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1863/0.5472, allocations: 131.8 MB / 0.6905 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004646/0.5518, allocations: 2.924 MB / 0.6934 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.552, allocations: 4 kB / 0.6934 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.5524, allocations: 51.66 kB / 0.6934 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5556, allocations: 1.093 MB / 0.6945 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.5562, allocations: 211.1 kB / 0.6947 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.5568, allocations: 370.6 kB / 0.695 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.5568, allocations: 9.297 kB / 0.6951 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.5572, allocations: 167.4 kB / 0.6952 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.5575, allocations: 115.5 kB / 0.6953 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.5575, allocations: 16 kB / 0.6953 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5605, allocations: 1.336 MB / 0.6966 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.5607, allocations: 87.7 kB / 0.6967 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.5608, allocations: 91.7 kB / 0.6968 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.5629, allocations: 0.9765 MB / 0.6978 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5629, allocations: 0 / 0.6978 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5629, allocations: 0 / 0.6978 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5629, allocations: 8 kB / 0.6978 GB, free: 8.398 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001193/0.5641, allocations: 489.1 kB / 0.6982 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5642, allocations: 8.031 kB / 0.6983 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.5658, allocations: 208.6 kB / 0.6985 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.5662, allocations: 202 kB / 0.6986 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5663, allocations: 20.3 kB / 0.6987 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.5663, allocations: 20 kB / 0.6987 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.5672, allocations: 0.5798 MB / 0.6992 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5672, allocations: 0 / 0.6992 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.5672, allocations: 8 kB / 0.6993 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.5673, allocations: 15.98 kB / 0.6993 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.568, allocations: 416.4 kB / 0.6997 GB, free: 6.352 MB / 0.5294 GB 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.001884/0.5699, allocations: 0.7197 MB / 0.7004 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.5703, allocations: 221.1 kB / 0.7006 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.5705, allocations: 121.6 kB / 0.7007 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/0.5722, allocations: 313.7 kB / 0.701 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.5723, allocations: 38.56 kB / 0.701 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.5723, allocations: 0 / 0.701 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001354/0.5736, allocations: 392 kB / 0.7014 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.5737, allocations: 85.11 kB / 0.7015 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5738, allocations: 113.8 kB / 0.7016 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.5738, allocations: 29.7 kB / 0.7016 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.5739, allocations: 108.6 kB / 0.7017 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.574, allocations: 123 kB / 0.7018 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.5742, allocations: 66 kB / 0.7019 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5743, allocations: 326.8 kB / 0.7022 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.5746, allocations: 100.1 kB / 0.7023 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.5749, allocations: 194.8 kB / 0.7025 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.5754, allocations: 310.1 kB / 0.7028 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.5754, allocations: 7.938 kB / 0.7028 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007322/0.5761, allocations: 351.6 kB / 0.7031 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5762, allocations: 8 kB / 0.7031 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5762, allocations: 0 / 0.7031 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5762, allocations: 4.312 kB / 0.7032 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.5766, allocations: 79.84 kB / 0.7032 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5766, allocations: 4 kB / 0.7032 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5768, allocations: 35.77 kB / 0.7033 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.5769, allocations: 20 kB / 0.7033 GB, free: 2.445 MB / 0.5294 GB 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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.0001703/0.5771, allocations: 145.7 kB / 0.7034 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5772, allocations: 15.91 kB / 0.7034 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/0.5779, allocations: 334.3 kB / 0.7038 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5779, allocations: 4 kB / 0.7038 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5779, allocations: 3.984 kB / 0.7038 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.5779, allocations: 3.938 kB / 0.7038 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.5785, allocations: 250.8 kB / 0.704 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5785, allocations: 0 / 0.704 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.5789, allocations: 59.91 kB / 0.7041 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5789, allocations: 0 / 0.7041 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.5789, allocations: 11.98 kB / 0.7041 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5789, allocations: 4 kB / 0.7041 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5789, allocations: 0 / 0.7041 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.5799, allocations: 0.5309 MB / 0.7046 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.5799, allocations: 11.89 kB / 0.7046 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.5799, allocations: 8.062 kB / 0.7046 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.5803, allocations: 15.98 kB / 0.7046 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.5803, allocations: 19.97 kB / 0.7047 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.5804, allocations: 19.92 kB / 0.7047 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.5804, allocations: 91.27 kB / 0.7048 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5804, allocations: 0 / 0.7048 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009933/0.5814, allocations: 235.4 kB / 0.705 GB, free: 0.6406 MB / 0.5294 GB 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.001402/0.5828, allocations: 465.9 kB / 0.7054 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.5836, allocations: 258.1 kB / 0.7057 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5836, allocations: 0 / 0.7057 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.5838, allocations: 128.5 kB / 0.7058 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.5845, allocations: 96.14 kB / 0.7059 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.5859, allocations: 0.776 MB / 0.7066 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5861, allocations: 127.8 kB / 0.7068 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.5862, allocations: 39.42 kB / 0.7068 GB, free: 14.71 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.5862, allocations: 0 / 0.7068 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Templates: time 0.01243/0.5987, allocations: 6.616 MB / 0.7133 GB, free: 8.109 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.52972533274442]