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.001294/0.001294, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001389/0.001389, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2375/0.2375, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] 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.002084/0.002084, allocations: 67.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1921/0.597, allocations: 131.8 MB / 0.6905 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.6011, allocations: 2.924 MB / 0.6934 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.6012, allocations: 4 kB / 0.6934 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.6017, allocations: 51.66 kB / 0.6934 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.6049, allocations: 1.101 MB / 0.6945 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.6055, allocations: 203.4 kB / 0.6947 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.6061, allocations: 370.6 kB / 0.695 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.6062, allocations: 17.3 kB / 0.6951 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.6065, allocations: 159.4 kB / 0.6952 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.6068, allocations: 127.5 kB / 0.6953 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.6068, allocations: 12 kB / 0.6953 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.6096, allocations: 1.348 MB / 0.6967 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.6097, allocations: 87.7 kB / 0.6967 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.6099, allocations: 95.7 kB / 0.6968 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.6114, allocations: 0.9805 MB / 0.6978 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.6115, allocations: 0 / 0.6978 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6115, allocations: 0 / 0.6978 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6115, allocations: 0 / 0.6978 GB, free: 8.363 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.0009805/0.6124, allocations: 0.4893 MB / 0.6983 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6125, allocations: 8.031 kB / 0.6983 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.614, allocations: 208.6 kB / 0.6985 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.6144, allocations: 205.9 kB / 0.6987 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6144, allocations: 16.38 kB / 0.6987 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.6144, allocations: 16 kB / 0.6987 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.6152, allocations: 0.5837 MB / 0.6993 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6152, allocations: 0 / 0.6993 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.6153, allocations: 12 kB / 0.6993 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.6153, allocations: 11.94 kB / 0.6993 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.6159, allocations: 424.4 kB / 0.6997 GB, free: 6.297 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.001747/0.6177, allocations: 0.7081 MB / 0.7004 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.6181, allocations: 217.1 kB / 0.7006 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.6183, allocations: 121.6 kB / 0.7007 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.6199, allocations: 321.7 kB / 0.701 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6199, allocations: 38.56 kB / 0.7011 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.6199, allocations: 0 / 0.7011 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001241/0.6212, allocations: 388.3 kB / 0.7014 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6212, allocations: 81.11 kB / 0.7015 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.6213, allocations: 113.8 kB / 0.7016 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.6214, allocations: 29.7 kB / 0.7016 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.6214, allocations: 108.6 kB / 0.7017 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6215, allocations: 131 kB / 0.7019 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6217, allocations: 58.03 kB / 0.7019 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6218, allocations: 326.8 kB / 0.7022 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.622, allocations: 104 kB / 0.7023 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.6223, allocations: 190.8 kB / 0.7025 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.6228, allocations: 310.1 kB / 0.7028 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6228, allocations: 7.938 kB / 0.7028 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006594/0.6235, allocations: 353.4 kB / 0.7032 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6235, allocations: 10.19 kB / 0.7032 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6235, allocations: 0 / 0.7032 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6235, allocations: 7.984 kB / 0.7032 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.6239, allocations: 75.78 kB / 0.7033 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.6239, allocations: 4 kB / 0.7033 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.6241, allocations: 35.78 kB / 0.7033 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6241, allocations: 19.98 kB / 0.7033 GB, free: 2.402 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.0001601/0.6243, allocations: 141.7 kB / 0.7034 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6244, allocations: 23.98 kB / 0.7035 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007098/0.6251, allocations: 338.1 kB / 0.7038 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6251, allocations: 8 kB / 0.7038 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6251, allocations: 0 / 0.7038 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6251, allocations: 3.984 kB / 0.7038 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.6257, allocations: 242.8 kB / 0.704 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6257, allocations: 0 / 0.704 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.626, allocations: 63.84 kB / 0.7041 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.626, allocations: 3.984 kB / 0.7041 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.6261, allocations: 11.98 kB / 0.7041 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6261, allocations: 4 kB / 0.7041 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6261, allocations: 0 / 0.7041 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.6269, allocations: 0.5309 MB / 0.7046 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.6269, allocations: 11.89 kB / 0.7046 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.6269, allocations: 12.05 kB / 0.7047 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.6273, allocations: 8 kB / 0.7047 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.6273, allocations: 23.95 kB / 0.7047 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.6273, allocations: 19.98 kB / 0.7047 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.6274, allocations: 83.28 kB / 0.7048 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6274, allocations: 0 / 0.7048 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001092/0.6285, allocations: 243.4 kB / 0.705 GB, free: 0.5938 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.001203/0.6297, allocations: 454.2 kB / 0.7054 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000617/0.6303, allocations: 264.1 kB / 0.7057 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6303, allocations: 0 / 0.7057 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.6306, allocations: 130.2 kB / 0.7058 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.6312, allocations: 92.33 kB / 0.7059 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.6325, allocations: 0.7432 MB / 0.7066 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.6327, allocations: 123.8 kB / 0.7068 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.633, allocations: 77.81 kB / 0.7068 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6331, allocations: 31.44 kB / 0.7069 GB, free: 14.64 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.6331, allocations: 0 / 0.7069 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Templates: time 0.01561/0.6487, allocations: 8.984 MB / 0.7156 GB, free: 5.758 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 -s cvode -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: 5.726150618997053]