Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 175.9 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008283/0.0008284, allocations: 92.78 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4294/0.4294, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/1.905, allocations: 0.7272 GB / 1.207 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.905, allocations: 83.14 kB / 1.207 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06858/1.974, allocations: 33.53 MB / 1.24 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.507e-06/1.974, allocations: 0 / 1.24 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.974, allocations: 0 / 1.24 GB, free: 38.78 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005641/1.974, allocations: 422.9 kB / 1.24 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.974, allocations: 8.031 kB / 1.24 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/1.976, allocations: 183.3 kB / 1.241 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.976, allocations: 212.2 kB / 1.241 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/1.976, allocations: 8.562 kB / 1.241 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/1.976, allocations: 8.375 kB / 1.241 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.977, allocations: 209.7 kB / 1.241 GB, free: 37.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.977, allocations: 7.922 kB / 1.241 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.977, allocations: 4 kB / 1.241 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.977, allocations: 0 / 1.241 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/1.977, allocations: 215.9 kB / 1.241 GB, free: 37.45 MB / 0.5105 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.001261/1.979, allocations: 0.6252 MB / 1.242 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/1.979, allocations: 170.4 kB / 1.242 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.979, allocations: 88.81 kB / 1.242 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.979, allocations: 89.09 kB / 1.242 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.979, allocations: 30.56 kB / 1.242 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/1.979, allocations: 0 / 1.242 GB, free: 36.36 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004661/1.984, allocations: 1.468 MB / 1.244 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.984, allocations: 59.41 kB / 1.244 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/1.984, allocations: 109.8 kB / 1.244 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.984, allocations: 33.7 kB / 1.244 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/1.984, allocations: 92.27 kB / 1.244 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/1.984, allocations: 74.98 kB / 1.244 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/1.984, allocations: 3.938 kB / 1.244 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/1.984, allocations: 326.8 kB / 1.244 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/1.984, allocations: 83.95 kB / 1.244 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.985, allocations: 111.2 kB / 1.244 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/1.985, allocations: 203.3 kB / 1.245 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.985, allocations: 4 kB / 1.245 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004803/1.985, allocations: 262.2 kB / 1.245 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.986, allocations: 8 kB / 1.245 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.986, allocations: 0 / 1.245 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/1.986, allocations: 28.78 kB / 1.245 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/1.986, allocations: 55.91 kB / 1.245 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002348/1.986, allocations: 0.5294 MB / 1.245 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/1.986, allocations: 12.03 kB / 1.246 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.986, allocations: 15.92 kB / 1.246 GB, free: 32.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/1.987, allocations: 129.7 kB / 1.246 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/1.987, allocations: 11.81 kB / 1.246 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/1.987, allocations: 295.2 kB / 1.246 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.987, allocations: 0 / 1.246 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.987, allocations: 0 / 1.246 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.987, allocations: 3.984 kB / 1.246 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/1.988, allocations: 0.645 MB / 1.247 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.988, allocations: 8.031 kB / 1.247 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.988, allocations: 55.89 kB / 1.247 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.08e-05/1.989, allocations: 24.72 kB / 1.247 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.989, allocations: 8 kB / 1.247 GB, free: 31.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/1.989, allocations: 1.264 MB / 1.248 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.989, allocations: 3.938 kB / 1.248 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/1.99, allocations: 431.7 kB / 1.248 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/1.99, allocations: 85.05 kB / 1.248 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/1.99, allocations: 7.984 kB / 1.248 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/1.99, allocations: 12 kB / 1.248 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.99, allocations: 27.84 kB / 1.248 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/1.99, allocations: 8 kB / 1.248 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.34e-05/1.99, allocations: 91.33 kB / 1.249 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.99, allocations: 0 / 1.249 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006102/1.991, allocations: 159.9 kB / 1.249 GB, free: 29.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/1.992, allocations: 0.6256 MB / 1.249 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004961/1.992, allocations: 205 kB / 1.249 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.992, allocations: 0 / 1.249 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/1.993, allocations: 226.5 kB / 1.25 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/1.993, allocations: 51.64 kB / 1.25 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/1.994, allocations: 0.5744 MB / 1.25 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/1.994, allocations: 0.7049 MB / 1.251 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003623/1.995, allocations: 45.39 kB / 1.251 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/1.995, allocations: 23.44 kB / 1.251 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/1.995, allocations: 0 / 1.251 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.01519/2.01, allocations: 11.96 MB / 1.263 GB, free: 14.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches