Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 76.31 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 62.45 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5297/0.6843, allocations: 150.6 MB / 0.6151 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.6894, allocations: 3.345 MB / 0.6184 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.6896, allocations: 0 / 0.6184 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.6901, allocations: 59.7 kB / 0.6184 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.6944, allocations: 0.979 MB / 0.6194 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.6951, allocations: 183.1 kB / 0.6196 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008796/0.696, allocations: 0.5063 MB / 0.62 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.6961, allocations: 17.05 kB / 0.6201 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.6966, allocations: 147.5 kB / 0.6202 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.697, allocations: 131.5 kB / 0.6203 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.6971, allocations: 4 kB / 0.6203 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.7014, allocations: 1.812 MB / 0.6221 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.7016, allocations: 71.84 kB / 0.6222 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.7018, allocations: 111.5 kB / 0.6223 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.7052, allocations: 1.15 MB / 0.6234 GB, free: 4.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7052, allocations: 0 / 0.6234 GB, free: 4.844 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7053, allocations: 0 / 0.6234 GB, free: 4.844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.7053, allocations: 0 / 0.6234 GB, free: 4.844 MB / 462.1 MB 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.001314/0.7066, allocations: 0.5423 MB / 0.6239 GB, free: 4.254 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000102/0.7067, allocations: 12.03 kB / 0.6239 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.7106, allocations: 389.2 kB / 0.6243 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.7112, allocations: 264.1 kB / 0.6246 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.7112, allocations: 20.31 kB / 0.6246 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7113, allocations: 16 kB / 0.6246 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.7126, allocations: 0.4892 MB / 0.6251 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7126, allocations: 4 kB / 0.6251 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/0.7127, allocations: 12 kB / 0.6251 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.7128, allocations: 8 kB / 0.6251 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.714, allocations: 0.5276 MB / 0.6256 GB, free: 2.48 MB / 462.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.002689/0.7167, allocations: 1.005 MB / 0.6266 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.7174, allocations: 304.7 kB / 0.6269 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.7177, allocations: 161.6 kB / 0.627 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/0.7197, allocations: 0.9684 MB / 0.628 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.7198, allocations: 42.56 kB / 0.628 GB, free: 15.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/0.7198, allocations: 0 / 0.628 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.00111/0.7209, allocations: 417.1 kB / 0.6284 GB, free: 15.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.721, allocations: 77.11 kB / 0.6285 GB, free: 15.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.7211, allocations: 127.9 kB / 0.6286 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.7212, allocations: 33.7 kB / 0.6287 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.7212, allocations: 108.4 kB / 0.6288 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.7214, allocations: 114.4 kB / 0.6289 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.7216, allocations: 66.02 kB / 0.6289 GB, free: 14.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.7218, allocations: 322.8 kB / 0.6292 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.7222, allocations: 120.3 kB / 0.6294 GB, free: 14.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.7225, allocations: 214.7 kB / 0.6296 GB, free: 14.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.7232, allocations: 347.8 kB / 0.6299 GB, free: 13.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.7232, allocations: 3.938 kB / 0.6299 GB, free: 13.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008227/0.724, allocations: 395.5 kB / 0.6303 GB, free: 13.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.7241, allocations: 11.92 kB / 0.6303 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7241, allocations: 4 kB / 0.6303 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.7241, allocations: 4 kB / 0.6303 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.7246, allocations: 72.16 kB / 0.6304 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.7246, allocations: 11.98 kB / 0.6304 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.7249, allocations: 31.69 kB / 0.6304 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.725, allocations: 23.98 kB / 0.6304 GB, free: 13.18 MB / 478.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 (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.0001837/0.7252, allocations: 145.7 kB / 0.6306 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.7253, allocations: 15.81 kB / 0.6306 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.7262, allocations: 390.3 kB / 0.6309 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.7262, allocations: 4 kB / 0.631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7263, allocations: 0 / 0.631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7263, allocations: 3.984 kB / 0.631 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.7269, allocations: 373.1 kB / 0.6313 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.727, allocations: 0 / 0.6313 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.7274, allocations: 63.89 kB / 0.6314 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7274, allocations: 0 / 0.6314 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.7275, allocations: 12.86 kB / 0.6314 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.7275, allocations: 8 kB / 0.6314 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.7275, allocations: 0 / 0.6314 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.7285, allocations: 0.5727 MB / 0.632 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7286, allocations: 96.86 kB / 0.632 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.7287, allocations: 8.047 kB / 0.6321 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.7291, allocations: 25.48 kB / 0.6321 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.7292, allocations: 11.98 kB / 0.6321 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.7292, allocations: 23.97 kB / 0.6321 GB, free: 11.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.7293, allocations: 91.27 kB / 0.6322 GB, free: 11.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7293, allocations: 0 / 0.6322 GB, free: 11.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001091/0.7304, allocations: 247.8 kB / 0.6324 GB, free: 11.02 MB / 478.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 (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.001495/0.7319, allocations: 446.6 kB / 0.6329 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.7326, allocations: 328.1 kB / 0.6332 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7326, allocations: 0 / 0.6332 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.733, allocations: 154.2 kB / 0.6333 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.7337, allocations: 89.28 kB / 0.6334 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.7351, allocations: 0.811 MB / 0.6342 GB, free: 9.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.7356, allocations: 0.7326 MB / 0.6349 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005458/0.7361, allocations: 96.11 kB / 0.635 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.7363, allocations: 35.42 kB / 0.635 GB, free: 8.289 MB / 478.1 MB Notification: Performance of SimCode: time 6.02e-07/0.7363, allocations: 4 kB / 0.635 GB, free: 8.285 MB / 478.1 MB Notification: Performance of Templates: time 0.01535/0.7517, allocations: 8.469 MB / 0.6433 GB, free: 15.86 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches