Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002256/0.002256, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2557/0.2557, allocations: 46.9 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 75.88 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4703, allocations: 66 MB / 0.5612 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2183/0.6885, allocations: 153.3 MB / 0.7109 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.6929, allocations: 3.259 MB / 0.7141 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.693, allocations: 0 / 0.7141 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.6935, allocations: 63.64 kB / 0.7141 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.6964, allocations: 1.077 MB / 0.7152 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.6969, allocations: 207.2 kB / 0.7154 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.6974, allocations: 366.6 kB / 0.7157 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.6975, allocations: 17.09 kB / 0.7157 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.6978, allocations: 155.5 kB / 0.7159 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.6981, allocations: 127.5 kB / 0.716 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.6981, allocations: 12 kB / 0.716 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.7013, allocations: 1.59 MB / 0.7176 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.7015, allocations: 87.75 kB / 0.7176 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.7016, allocations: 107.5 kB / 0.7177 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.7036, allocations: 1.016 MB / 0.7187 GB, free: 3.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7036, allocations: 0 / 0.7187 GB, free: 3.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7036, allocations: 0 / 0.7187 GB, free: 3.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.7036, allocations: 4 kB / 0.7187 GB, free: 3.031 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.001183/0.7048, allocations: 0.5685 MB / 0.7193 GB, free: 2.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7048, allocations: 8.031 kB / 0.7193 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.7063, allocations: 212.5 kB / 0.7195 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.7067, allocations: 255.8 kB / 0.7198 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.7067, allocations: 16.38 kB / 0.7198 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.7068, allocations: 20 kB / 0.7198 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.7075, allocations: 380.9 kB / 0.7202 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7075, allocations: 0 / 0.7202 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.7075, allocations: 12 kB / 0.7202 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.7075, allocations: 4 kB / 0.7202 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.7081, allocations: 424.4 kB / 0.7206 GB, free: 1.066 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.001817/0.71, allocations: 0.8224 MB / 0.7214 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.7104, allocations: 225.1 kB / 0.7216 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.7106, allocations: 121.7 kB / 0.7217 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.7126, allocations: 0.9762 MB / 0.7227 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.7126, allocations: 34.56 kB / 0.7227 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.7126, allocations: 4 kB / 0.7227 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001298/0.7139, allocations: 373.9 kB / 0.7231 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.714, allocations: 89.11 kB / 0.7231 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7141, allocations: 113.8 kB / 0.7232 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.7142, allocations: 37.64 kB / 0.7233 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.7143, allocations: 112.5 kB / 0.7234 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.7144, allocations: 122.9 kB / 0.7235 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.7145, allocations: 66.02 kB / 0.7236 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7146, allocations: 330.8 kB / 0.7239 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.7149, allocations: 108 kB / 0.724 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.7151, allocations: 186.9 kB / 0.7242 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.7156, allocations: 311.5 kB / 0.7245 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7157, allocations: 4 kB / 0.7245 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006461/0.7163, allocations: 349.3 kB / 0.7248 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7163, allocations: 10.5 kB / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.7163, allocations: 0 / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.7164, allocations: 8 kB / 0.7248 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.7167, allocations: 71.89 kB / 0.7249 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7167, allocations: 8 kB / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.7169, allocations: 23.84 kB / 0.7249 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.717, allocations: 23.98 kB / 0.7249 GB, free: 12.21 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.0001703/0.7172, allocations: 153.8 kB / 0.7251 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.7173, allocations: 19.89 kB / 0.7251 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.718, allocations: 338.4 kB / 0.7254 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.718, allocations: 4 kB / 0.7254 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.718, allocations: 0 / 0.7254 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.718, allocations: 3.984 kB / 0.7254 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.7187, allocations: 335.1 kB / 0.7258 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7187, allocations: 7.984 kB / 0.7258 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.719, allocations: 55.91 kB / 0.7258 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.719, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.719, allocations: 19.94 kB / 0.7258 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.719, allocations: 0 / 0.7258 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.719, allocations: 0 / 0.7258 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.7199, allocations: 0.5259 MB / 0.7263 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.72, allocations: 92.94 kB / 0.7264 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.72, allocations: 8.062 kB / 0.7264 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.7203, allocations: 15.98 kB / 0.7265 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.7204, allocations: 19.97 kB / 0.7265 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.7204, allocations: 19.92 kB / 0.7265 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.7205, allocations: 91.22 kB / 0.7266 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7205, allocations: 0 / 0.7266 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009394/0.7214, allocations: 243.3 kB / 0.7268 GB, free: 10.18 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.001047/0.7224, allocations: 450.3 kB / 0.7272 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.723, allocations: 255.7 kB / 0.7275 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.723, allocations: 0.625 kB / 0.7275 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.7232, allocations: 139.4 kB / 0.7276 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.724, allocations: 94.22 kB / 0.7277 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.7253, allocations: 0.745 MB / 0.7284 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7256, allocations: 0.7324 MB / 0.7292 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.7259, allocations: 69.84 kB / 0.7292 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.726, allocations: 39.42 kB / 0.7293 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.726, allocations: 0 / 0.7293 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.3377/1.064, allocations: 8.673 MB / 0.7377 GB, free: 175.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.563829284626991]