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.001928/0.001928, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002418/0.002418, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2509/0.2509, allocations: 46.93 MB / 360.8 MB, free: 4.277 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.002091/0.002091, allocations: 75.88 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4717, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2271/0.6988, allocations: 153.3 MB / 0.7108 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.7034, allocations: 3.263 MB / 0.714 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.7035, allocations: 0 / 0.714 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.7039, allocations: 71.58 kB / 0.7141 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.7069, allocations: 1.108 MB / 0.7151 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.7074, allocations: 199.4 kB / 0.7153 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.708, allocations: 378.6 kB / 0.7157 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.7081, allocations: 9.297 kB / 0.7157 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.7084, allocations: 163.4 kB / 0.7159 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.7087, allocations: 127.5 kB / 0.716 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.7087, allocations: 12 kB / 0.716 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.7124, allocations: 1.636 MB / 0.7176 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.7125, allocations: 87.7 kB / 0.7177 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.7127, allocations: 115.6 kB / 0.7178 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.7146, allocations: 1.019 MB / 0.7188 GB, free: 2.363 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7146, allocations: 4 kB / 0.7188 GB, free: 2.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7146, allocations: 0 / 0.7188 GB, free: 2.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7146, allocations: 0 / 0.7188 GB, free: 2.359 MB / 0.545 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.0009996/0.7156, allocations: 497.1 kB / 0.7193 GB, free: 1.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7157, allocations: 8.031 kB / 0.7193 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.7172, allocations: 208.6 kB / 0.7195 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.7176, allocations: 198 kB / 0.7197 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.7176, allocations: 12.38 kB / 0.7197 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.7177, allocations: 20 kB / 0.7197 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.7184, allocations: 392.1 kB / 0.7201 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.7184, allocations: 0 / 0.7201 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.7184, allocations: 12 kB / 0.7201 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.7184, allocations: 4 kB / 0.7201 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/0.7191, allocations: 428.4 kB / 0.7205 GB, free: 0.5586 MB / 0.545 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.001895/0.721, allocations: 0.7855 MB / 0.7212 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.7214, allocations: 225 kB / 0.7215 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.7217, allocations: 129.7 kB / 0.7216 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.7233, allocations: 309.7 kB / 0.7219 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.7234, allocations: 42.5 kB / 0.7219 GB, free: 15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.7234, allocations: 3.938 kB / 0.7219 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001318/0.7247, allocations: 377.9 kB / 0.7223 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.7248, allocations: 81.11 kB / 0.7224 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.7249, allocations: 125.7 kB / 0.7225 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.725, allocations: 33.7 kB / 0.7225 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.725, allocations: 108.6 kB / 0.7226 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.7252, allocations: 115 kB / 0.7227 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.7253, allocations: 66.02 kB / 0.7228 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.7255, allocations: 326.8 kB / 0.7231 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.7257, allocations: 116 kB / 0.7232 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.726, allocations: 178.9 kB / 0.7234 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.7266, allocations: 315.9 kB / 0.7237 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7266, allocations: 4 kB / 0.7237 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007016/0.7273, allocations: 357.4 kB / 0.724 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7273, allocations: 13.91 kB / 0.724 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7273, allocations: 0 / 0.724 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7273, allocations: 4 kB / 0.724 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.7277, allocations: 75.89 kB / 0.7241 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.7277, allocations: 7.938 kB / 0.7241 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.7279, allocations: 27.78 kB / 0.7242 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.728, allocations: 20 kB / 0.7242 GB, free: 12.56 MB / 0.5606 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.0002491/0.7282, allocations: 141.7 kB / 0.7243 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7283, allocations: 15.91 kB / 0.7243 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.7291, allocations: 338.1 kB / 0.7246 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.7291, allocations: 4 kB / 0.7246 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7291, allocations: 0 / 0.7246 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.7291, allocations: 4 kB / 0.7247 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.7298, allocations: 314.1 kB / 0.725 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.7298, allocations: 4 kB / 0.725 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.7301, allocations: 51.91 kB / 0.725 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.7301, allocations: 4 kB / 0.725 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.7302, allocations: 19.92 kB / 0.725 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7302, allocations: 0 / 0.725 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7302, allocations: 0 / 0.725 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.731, allocations: 0.5347 MB / 0.7255 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.731, allocations: 15.88 kB / 0.7256 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.7311, allocations: 8.062 kB / 0.7256 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.7314, allocations: 11.98 kB / 0.7256 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.7315, allocations: 15.97 kB / 0.7256 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.7315, allocations: 23.98 kB / 0.7256 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.7316, allocations: 95.52 kB / 0.7257 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7316, allocations: 0 / 0.7257 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009845/0.7326, allocations: 235.4 kB / 0.7259 GB, free: 10.68 MB / 0.5606 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.001105/0.7337, allocations: 458.4 kB / 0.7264 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.7343, allocations: 258.2 kB / 0.7266 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7343, allocations: 0 / 0.7266 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.7345, allocations: 135.8 kB / 0.7268 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.7352, allocations: 84.64 kB / 0.7268 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.7366, allocations: 0.7549 MB / 0.7276 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.7371, allocations: 0.7323 MB / 0.7283 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.7374, allocations: 77.77 kB / 0.7284 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.7375, allocations: 35.44 kB / 0.7284 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.7375, allocations: 0 / 0.7284 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of Templates: time 0.3459/1.083, allocations: 8.771 MB / 0.737 GB, free: 175.3 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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: 6.62841470586136]