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.001912/0.001912, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002329/0.002329, allocations: 157.3 kB / 23.51 MB, free: 0.8945 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.768/1.768, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2497/0.2497, allocations: 32.36 MB / 270 MB, free: 14.78 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.1.|medium2.X.2.|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.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.09e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.388/0.388, allocations: 130.1 MB / 477 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.3917, allocations: 2.736 MB / 479.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.3918, allocations: 0 / 479.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3922, allocations: 58.88 kB / 479.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.3948, allocations: 1.059 MB / 480.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.3953, allocations: 208.2 kB / 481 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.3957, allocations: 354.4 kB / 481.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.3957, allocations: 12.19 kB / 481.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.396, allocations: 200.2 kB / 481.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3962, allocations: 103 kB / 481.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3962, allocations: 13.38 kB / 481.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.3984, allocations: 1.295 MB / 483 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3985, allocations: 86.14 kB / 483.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3986, allocations: 77.12 kB / 483.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3999, allocations: 1.05 MB / 484.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3999, allocations: 7.344 kB / 484.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3999, allocations: 0 / 484.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3999, allocations: 0 / 484.2 MB, free: 9.391 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.0008899/0.4008, allocations: 488 kB / 484.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4009, allocations: 7.875 kB / 484.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.4023, allocations: 265.8 kB / 484.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4026, allocations: 189.5 kB / 485.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4027, allocations: 13.09 kB / 485.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.4027, allocations: 23.47 kB / 485.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.4033, allocations: 0.5755 MB / 485.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4033, allocations: 3.938 kB / 485.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.4033, allocations: 5.5 kB / 485.8 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4033, allocations: 14.22 kB / 485.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.4038, allocations: 410.8 kB / 486.2 MB, free: 8.293 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.001422/0.4053, allocations: 0.7171 MB / 486.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.4056, allocations: 212.4 kB / 487.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.4058, allocations: 120.2 kB / 487.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.4072, allocations: 312.8 kB / 487.5 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4072, allocations: 38.88 kB / 487.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.4072, allocations: 0 / 487.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001137/0.4084, allocations: 383.8 kB / 487.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4084, allocations: 79.83 kB / 488 MB, free: 7.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.4085, allocations: 120.8 kB / 488.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4085, allocations: 34.58 kB / 488.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.4085, allocations: 107 kB / 488.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.4086, allocations: 116.2 kB / 488.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.4087, allocations: 69.41 kB / 488.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.4088, allocations: 320.8 kB / 488.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.4089, allocations: 96.83 kB / 488.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.4091, allocations: 197.4 kB / 489 MB, free: 6.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.4095, allocations: 297 kB / 489.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4095, allocations: 0 / 489.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006084/0.4101, allocations: 362 kB / 489.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4101, allocations: 4.906 kB / 489.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4101, allocations: 5.625 kB / 489.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.4102, allocations: 6.531 kB / 489.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4105, allocations: 67.59 kB / 489.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4105, allocations: 6.984 kB / 489.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4107, allocations: 32.69 kB / 489.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4108, allocations: 20.66 kB / 489.8 MB, free: 6.41 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.0001036/0.4109, allocations: 142.5 kB / 490 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.411, allocations: 28.44 kB / 490 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.4116, allocations: 328.6 kB / 490.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4116, allocations: 2.844 kB / 490.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4116, allocations: 0 / 490.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4116, allocations: 2.188 kB / 490.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.412, allocations: 240.5 kB / 490.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.412, allocations: 0 / 490.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.4123, allocations: 54.59 kB / 490.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4123, allocations: 2.281 kB / 490.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.4124, allocations: 9.594 kB / 490.6 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4124, allocations: 10.81 kB / 490.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4124, allocations: 0 / 490.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.4131, allocations: 0.5124 MB / 491.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.4131, allocations: 17.34 kB / 491.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.4131, allocations: 17.17 kB / 491.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.4134, allocations: 14.66 kB / 491.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4135, allocations: 20.98 kB / 491.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.4135, allocations: 17.61 kB / 491.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.4135, allocations: 88.11 kB / 491.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4135, allocations: 7 kB / 491.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008622/0.4144, allocations: 234.2 kB / 491.6 MB, free: 5.566 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.0009498/0.4154, allocations: 433.6 kB / 492 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.4158, allocations: 249.6 kB / 492.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4158, allocations: 2.656 kB / 492.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.416, allocations: 135.8 kB / 492.4 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.4167, allocations: 92.78 kB / 492.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.4176, allocations: 0.5911 MB / 493 MB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.4177, allocations: 126.7 kB / 493.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.418, allocations: 67.22 kB / 493.2 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.4181, allocations: 29.81 kB / 493.3 MB, free: 4.691 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4181, allocations: 0 / 493.3 MB, free: 4.691 MB / 362.7 MB Notification: Performance of Templates: time 0.01305/0.4311, allocations: 8.409 MB / 0.4899 GB, free: 15.26 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.081145046977326]