Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001357/0.001357, allocations: 83.69 kB / 22 MB, free: 5.18 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.001448/0.001448, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 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.343/1.343, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 47.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2103, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3665/0.5768, allocations: 130 MB / 478.5 MB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.5802, allocations: 2.734 MB / 481.3 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5803, allocations: 0.9844 kB / 481.3 MB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.5807, allocations: 61.56 kB / 481.3 MB, free: 1.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.5833, allocations: 1.032 MB / 482.4 MB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.5839, allocations: 202.9 kB / 482.5 MB, free: 1.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.5843, allocations: 355.8 kB / 482.9 MB, free: 1.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.5844, allocations: 15.23 kB / 482.9 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.5846, allocations: 155.3 kB / 483.1 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.5848, allocations: 114.2 kB / 483.2 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.5849, allocations: 13.03 kB / 483.2 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.5873, allocations: 1.278 MB / 484.5 MB, free: 1.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.5874, allocations: 78.3 kB / 484.5 MB, free: 1.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.5875, allocations: 94.23 kB / 484.6 MB, free: 1.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.5888, allocations: 0.9563 MB / 485.6 MB, free: 1.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5888, allocations: 0 / 485.6 MB, free: 1.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5888, allocations: 0.8438 kB / 485.6 MB, free: 1.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.5888, allocations: 0 / 485.6 MB, free: 1.281 MB / 430.1 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.0009009/0.5897, allocations: 488.5 kB / 486.1 MB, free: 16.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5897, allocations: 14.08 kB / 486.1 MB, free: 16.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.5911, allocations: 202.7 kB / 486.3 MB, free: 16.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.5915, allocations: 188 kB / 486.5 MB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5915, allocations: 13.44 kB / 486.5 MB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.5915, allocations: 35.81 kB / 486.5 MB, free: 16.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.5922, allocations: 0.5694 MB / 487.1 MB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5922, allocations: 0 / 487.1 MB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.5922, allocations: 12.5 kB / 487.1 MB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5922, allocations: 5.219 kB / 487.1 MB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.5927, allocations: 414.5 kB / 487.5 MB, free: 16.48 MB / 446.1 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.00148/0.5942, allocations: 0.707 MB / 488.2 MB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.5945, allocations: 213.1 kB / 488.4 MB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5946, allocations: 115.9 kB / 488.5 MB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.596, allocations: 298.9 kB / 488.8 MB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.5961, allocations: 47.03 kB / 488.9 MB, free: 16.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.5961, allocations: 0 / 488.9 MB, free: 16.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001152/0.5972, allocations: 366.5 kB / 489.2 MB, free: 16.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5973, allocations: 80.73 kB / 489.3 MB, free: 15.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.5974, allocations: 123 kB / 489.4 MB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.5974, allocations: 29.33 kB / 489.5 MB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.5975, allocations: 117.8 kB / 489.6 MB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.5975, allocations: 111.7 kB / 489.7 MB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.5976, allocations: 64.86 kB / 489.7 MB, free: 15.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5978, allocations: 325.2 kB / 490.1 MB, free: 15.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.5979, allocations: 95.64 kB / 490.2 MB, free: 15.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.5981, allocations: 185.8 kB / 490.3 MB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.5985, allocations: 303.9 kB / 490.6 MB, free: 15.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5985, allocations: 6.531 kB / 490.6 MB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005294/0.5991, allocations: 346.2 kB / 491 MB, free: 15.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5991, allocations: 7.156 kB / 491 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5991, allocations: 5.547 kB / 491 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5991, allocations: 3.438 kB / 491 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.5995, allocations: 75.23 kB / 491.1 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.5995, allocations: 8.188 kB / 491.1 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5997, allocations: 24.58 kB / 491.1 MB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5997, allocations: 14.66 kB / 491.1 MB, free: 15.02 MB / 446.1 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.0001444/0.5999, allocations: 143.5 kB / 491.3 MB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6, allocations: 22.3 kB / 491.3 MB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.6006, allocations: 324 kB / 491.6 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6006, allocations: 5.344 kB / 491.6 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6006, allocations: 0.8125 kB / 491.6 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6006, allocations: 8.078 kB / 491.6 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.601, allocations: 240.1 kB / 491.8 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.601, allocations: 3.984 kB / 491.8 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.6014, allocations: 58.19 kB / 491.9 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6014, allocations: 6.5 kB / 491.9 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.6014, allocations: 9.156 kB / 491.9 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6014, allocations: 0 / 491.9 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6014, allocations: 7.156 kB / 491.9 MB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.6021, allocations: 0.5115 MB / 492.4 MB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.6021, allocations: 16.73 kB / 492.4 MB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.6021, allocations: 7.062 kB / 492.5 MB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.6024, allocations: 12.64 kB / 492.5 MB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.6025, allocations: 23.28 kB / 492.5 MB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.6025, allocations: 21.06 kB / 492.5 MB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.6026, allocations: 87.84 kB / 492.6 MB, free: 14.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6026, allocations: 0.7812 kB / 492.6 MB, free: 14.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000758/0.6033, allocations: 229.1 kB / 492.8 MB, free: 14.33 MB / 446.1 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.0008559/0.6042, allocations: 434.7 kB / 493.2 MB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.6046, allocations: 242.4 kB / 493.5 MB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6046, allocations: 3.312 kB / 493.5 MB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.6048, allocations: 125.5 kB / 493.6 MB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.6054, allocations: 87.05 kB / 493.7 MB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.6064, allocations: 0.7144 MB / 494.4 MB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.6065, allocations: 132.8 kB / 494.5 MB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.6068, allocations: 77.95 kB / 494.6 MB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.6069, allocations: 32.91 kB / 494.6 MB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6069, allocations: 2.875 kB / 494.6 MB, free: 13.7 MB / 446.1 MB Notification: Performance of Templates: time 0.01228/0.6192, allocations: 8.383 MB / 0.4912 GB, free: 12.81 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 4.997960660024546]