Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009638/0.0009638, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009014/0.0009014, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 18.57 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2919/0.2919, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.035e-05, allocations: 6.25 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3719/0.372, allocations: 145.5 MB / 0.5093 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.3752, allocations: 3.186 MB / 0.5124 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3753, allocations: 0 / 0.5124 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.3758, allocations: 57.59 kB / 0.5124 GB, free: 18.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.3786, allocations: 1.085 MB / 0.5135 GB, free: 17.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.3791, allocations: 203.7 kB / 0.5137 GB, free: 17.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.3796, allocations: 353.8 kB / 0.514 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.3797, allocations: 11.95 kB / 0.514 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.3801, allocations: 201.5 kB / 0.5142 GB, free: 17.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3803, allocations: 102.3 kB / 0.5143 GB, free: 17.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.3803, allocations: 14 kB / 0.5143 GB, free: 17.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.3832, allocations: 1.331 MB / 0.5156 GB, free: 16.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3833, allocations: 79.77 kB / 0.5157 GB, free: 16.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3834, allocations: 87.39 kB / 0.5158 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3852, allocations: 1.018 MB / 0.5168 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3852, allocations: 2.938 kB / 0.5168 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3852, allocations: 0 / 0.5168 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3852, allocations: 0 / 0.5168 GB, free: 16.57 MB / 410.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.001063/0.3863, allocations: 0.5815 MB / 0.5174 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.3864, allocations: 8.688 kB / 0.5174 GB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.3876, allocations: 266.2 kB / 0.5176 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3879, allocations: 191.9 kB / 0.5178 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3879, allocations: 13.47 kB / 0.5178 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.388, allocations: 31.94 kB / 0.5179 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.3885, allocations: 474.7 kB / 0.5183 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3885, allocations: 0 / 0.5183 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3885, allocations: 7.156 kB / 0.5183 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3885, allocations: 9.297 kB / 0.5183 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.3888, allocations: 207 kB / 0.5185 GB, free: 15.46 MB / 410.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.001268/0.3901, allocations: 0.756 MB / 0.5193 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3904, allocations: 201.3 kB / 0.5195 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3905, allocations: 83.34 kB / 0.5195 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009467/0.3915, allocations: 305.4 kB / 0.5198 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3915, allocations: 42.41 kB / 0.5199 GB, free: 14.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/0.3915, allocations: 0 / 0.5199 GB, free: 14.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008309/0.3924, allocations: 334.6 kB / 0.5202 GB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3924, allocations: 91.98 kB / 0.5203 GB, free: 14.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.3925, allocations: 174.1 kB / 0.5204 GB, free: 14.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3925, allocations: 29.7 kB / 0.5205 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.3926, allocations: 162.4 kB / 0.5206 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.3926, allocations: 114.2 kB / 0.5207 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.3927, allocations: 66.06 kB / 0.5208 GB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.3928, allocations: 0.4963 MB / 0.5213 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.3929, allocations: 60.77 kB / 0.5213 GB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.393, allocations: 177.1 kB / 0.5215 GB, free: 13.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.3933, allocations: 272.2 kB / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3933, allocations: 0 / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004105/0.3937, allocations: 298.1 kB / 0.5221 GB, free: 13.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3937, allocations: 9.5 kB / 0.5221 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3937, allocations: 2.594 kB / 0.5221 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.3938, allocations: 2.938 kB / 0.5221 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.394, allocations: 76.05 kB / 0.5221 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.394, allocations: 9.391 kB / 0.5221 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3941, allocations: 28.25 kB / 0.5222 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3941, allocations: 17.81 kB / 0.5222 GB, free: 12.97 MB / 410.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 9.917e-05/0.3942, allocations: 174.8 kB / 0.5224 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.3943, allocations: 37.16 kB / 0.5224 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.3948, allocations: 277 kB / 0.5227 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3948, allocations: 3.406 kB / 0.5227 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3948, allocations: 0 / 0.5227 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.3948, allocations: 5 kB / 0.5227 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.3951, allocations: 224 kB / 0.5229 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3951, allocations: 2.938 kB / 0.5229 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.3953, allocations: 56.31 kB / 0.5229 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3953, allocations: 2.969 kB / 0.5229 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3953, allocations: 12.88 kB / 0.523 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3953, allocations: 7.031 kB / 0.523 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3953, allocations: 3.938 kB / 0.523 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.3958, allocations: 0.5598 MB / 0.5235 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3958, allocations: 13.45 kB / 0.5235 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.3959, allocations: 12.52 kB / 0.5235 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.396, allocations: 15.88 kB / 0.5235 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3961, allocations: 22.91 kB / 0.5236 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3961, allocations: 19.73 kB / 0.5236 GB, free: 12.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.355e-05/0.3961, allocations: 127.8 kB / 0.5237 GB, free: 11.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3961, allocations: 4 kB / 0.5237 GB, free: 11.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008951/0.397, allocations: 234.7 kB / 0.5239 GB, free: 11.88 MB / 410.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.0008292/0.3978, allocations: 452.9 kB / 0.5244 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.3982, allocations: 207.7 kB / 0.5246 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3982, allocations: 3.938 kB / 0.5246 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3983, allocations: 113.3 kB / 0.5247 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3987, allocations: 88.33 kB / 0.5248 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3998, allocations: 0.5865 MB / 0.5253 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.3999, allocations: 84.27 kB / 0.5254 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.4001, allocations: 67.2 kB / 0.5255 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.4002, allocations: 30.19 kB / 0.5255 GB, free: 11.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/0.4002, allocations: 0 / 0.5255 GB, free: 11.07 MB / 410.7 MB Notification: Performance of Templates: time 0.0118/0.412, allocations: 8.484 MB / 0.5338 GB, free: 8.785 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.923801596974954]