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.001787/0.001787, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002326/0.002326, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.487/1.487, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.2498/0.2498, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] 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.002306/0.002306, allocations: 77.59 kB / 0.4924 GB, free: 26.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1516, allocations: 65.98 MB / 0.5568 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.6148/0.7664, allocations: 153.2 MB / 0.7064 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004396/0.7708, allocations: 3.253 MB / 0.7096 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.7709, allocations: 4 kB / 0.7096 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.7713, allocations: 63.64 kB / 0.7097 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.7742, allocations: 1.072 MB / 0.7107 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.7748, allocations: 198.6 kB / 0.7109 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.7754, allocations: 366.6 kB / 0.7113 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.7754, allocations: 13.59 kB / 0.7113 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.7757, allocations: 159.4 kB / 0.7114 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.776, allocations: 119.6 kB / 0.7115 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.776, allocations: 12 kB / 0.7115 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.7793, allocations: 1.597 MB / 0.7131 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.7795, allocations: 87.77 kB / 0.7132 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.7796, allocations: 103.6 kB / 0.7133 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.7816, allocations: 1.02 MB / 0.7143 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7816, allocations: 0 / 0.7143 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7816, allocations: 0 / 0.7143 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.7816, allocations: 4 kB / 0.7143 GB, free: 12.78 MB / 0.5137 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.00108/0.7827, allocations: 0.5607 MB / 0.7148 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7827, allocations: 12.02 kB / 0.7148 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.7842, allocations: 208.6 kB / 0.715 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.7846, allocations: 260.2 kB / 0.7153 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.7846, allocations: 16.31 kB / 0.7153 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.7847, allocations: 20 kB / 0.7153 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.7853, allocations: 380.9 kB / 0.7157 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.7854, allocations: 4 kB / 0.7157 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.7854, allocations: 12 kB / 0.7157 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.7854, allocations: 4 kB / 0.7157 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.7861, allocations: 420.4 kB / 0.7161 GB, free: 10.82 MB / 0.5137 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.001834/0.7879, allocations: 0.8215 MB / 0.7169 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.7883, allocations: 225 kB / 0.7171 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.7886, allocations: 125.7 kB / 0.7172 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/0.7905, allocations: 0.9841 MB / 0.7182 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.7906, allocations: 34.56 kB / 0.7182 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.7906, allocations: 0 / 0.7182 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001324/0.7919, allocations: 380.2 kB / 0.7186 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.792, allocations: 89.09 kB / 0.7187 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.7921, allocations: 115.5 kB / 0.7188 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.7921, allocations: 37.7 kB / 0.7188 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.7922, allocations: 112.5 kB / 0.7189 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.7923, allocations: 119 kB / 0.7191 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.7924, allocations: 66.02 kB / 0.7191 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7926, allocations: 326.8 kB / 0.7194 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.7928, allocations: 108 kB / 0.7195 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.7931, allocations: 186.8 kB / 0.7197 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.7936, allocations: 312.4 kB / 0.72 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.7936, allocations: 11.94 kB / 0.72 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006714/0.7943, allocations: 349.1 kB / 0.7204 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.7943, allocations: 11.94 kB / 0.7204 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.7943, allocations: 0 / 0.7204 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.7943, allocations: 8 kB / 0.7204 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.7947, allocations: 76.2 kB / 0.7204 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.7947, allocations: 4.812 kB / 0.7204 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.7949, allocations: 23.84 kB / 0.7205 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.7949, allocations: 20 kB / 0.7205 GB, free: 5.945 MB / 0.5137 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.0001748/0.7951, allocations: 149.6 kB / 0.7206 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7952, allocations: 15.91 kB / 0.7206 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/0.7959, allocations: 337.3 kB / 0.721 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.796, allocations: 4 kB / 0.721 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.796, allocations: 0 / 0.721 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.796, allocations: 3.938 kB / 0.721 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.7966, allocations: 347 kB / 0.7213 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.7966, allocations: 4 kB / 0.7213 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.797, allocations: 55.91 kB / 0.7214 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.797, allocations: 0 / 0.7214 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.797, allocations: 15.98 kB / 0.7214 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.797, allocations: 0 / 0.7214 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.797, allocations: 3.938 kB / 0.7214 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.7979, allocations: 0.5259 MB / 0.7219 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.7979, allocations: 92.98 kB / 0.722 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.798, allocations: 12.05 kB / 0.722 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.7983, allocations: 11.98 kB / 0.722 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.7983, allocations: 15.98 kB / 0.722 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.7984, allocations: 15.98 kB / 0.722 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.7984, allocations: 92.91 kB / 0.7221 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7984, allocations: 0 / 0.7221 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009917/0.7994, allocations: 243.3 kB / 0.7224 GB, free: 3.93 MB / 0.5137 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.001129/0.8006, allocations: 454.1 kB / 0.7228 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.8012, allocations: 258.8 kB / 0.723 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8012, allocations: 0 / 0.723 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.8014, allocations: 131.8 kB / 0.7232 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.8021, allocations: 95.89 kB / 0.7233 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.8034, allocations: 0.7725 MB / 0.724 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.8038, allocations: 0.7324 MB / 0.7247 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.804, allocations: 39.42 kB / 0.7248 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.804, allocations: 0 / 0.7248 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.01134/0.8153, allocations: 6.534 MB / 0.7311 GB, free: 10.88 MB / 0.5294 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 -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: 10.031534797977656]