Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002427/0.002427, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001108/0.001108, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.182e-05, allocations: 7.938 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.542, allocations: 451.4 MB / 0.8012 GB, free: 54.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.543, allocations: 76.14 kB / 0.8013 GB, free: 54.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/1.643, allocations: 29.8 MB / 0.8304 GB, free: 26.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.643, allocations: 4 kB / 0.8304 GB, free: 26.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/1.643, allocations: 3.938 kB / 0.8304 GB, free: 26.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004671/1.644, allocations: 387.2 kB / 0.8308 GB, free: 26.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.644, allocations: 8.031 kB / 0.8308 GB, free: 26.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/1.646, allocations: 187.6 kB / 0.831 GB, free: 26.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/1.647, allocations: 210.9 kB / 0.8312 GB, free: 26.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.647, allocations: 4.219 kB / 0.8312 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/1.647, allocations: 12 kB / 0.8312 GB, free: 26.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/1.647, allocations: 212.9 kB / 0.8314 GB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.647, allocations: 0 / 0.8314 GB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/1.647, allocations: 8 kB / 0.8314 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.647, allocations: 0 / 0.8314 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/1.648, allocations: 155.9 kB / 0.8315 GB, free: 25.68 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00125/1.649, allocations: 0.5717 MB / 0.8321 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/1.65, allocations: 126.5 kB / 0.8322 GB, free: 24.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.65, allocations: 68.84 kB / 0.8323 GB, free: 24.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/1.65, allocations: 4 kB / 0.8323 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.65, allocations: 34.56 kB / 0.8323 GB, free: 24.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/1.65, allocations: 0 / 0.8323 GB, free: 24.8 MB / 426.7 MB 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.00757/1.657, allocations: 1.1 MB / 0.8334 GB, free: 23.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.658, allocations: 59.36 kB / 0.8334 GB, free: 23.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/1.658, allocations: 101 kB / 0.8335 GB, free: 23.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/1.658, allocations: 33.7 kB / 0.8336 GB, free: 23.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/1.658, allocations: 166.3 kB / 0.8337 GB, free: 23.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/1.658, allocations: 71.02 kB / 0.8338 GB, free: 23.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/1.658, allocations: 0 / 0.8338 GB, free: 23.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/1.658, allocations: 322.8 kB / 0.8341 GB, free: 22.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.658, allocations: 64 kB / 0.8342 GB, free: 22.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/1.658, allocations: 95.59 kB / 0.8343 GB, free: 22.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/1.659, allocations: 76.84 kB / 0.8343 GB, free: 22.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.659, allocations: 0 / 0.8343 GB, free: 22.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006061/1.659, allocations: 248.7 kB / 0.8346 GB, free: 22.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.659, allocations: 4 kB / 0.8346 GB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.659, allocations: 0 / 0.8346 GB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/1.659, allocations: 48.83 kB / 0.8346 GB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/1.66, allocations: 59.89 kB / 0.8347 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000416/1.66, allocations: 0.5642 MB / 0.8352 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/1.661, allocations: 11.97 kB / 0.8352 GB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.661, allocations: 27.92 kB / 0.8353 GB, free: 21.61 MB / 426.7 MB 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 () * 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 0.000115/1.661, allocations: 117 kB / 0.8354 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/1.661, allocations: 8 kB / 0.8354 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.662, allocations: 350.6 kB / 0.8357 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.662, allocations: 0 / 0.8357 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.662, allocations: 4 kB / 0.8357 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.662, allocations: 0 / 0.8357 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.663, allocations: 0.6007 MB / 0.8363 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.663, allocations: 0 / 0.8363 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/1.664, allocations: 64.05 kB / 0.8364 GB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/1.664, allocations: 24.78 kB / 0.8364 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/1.664, allocations: 11.98 kB / 0.8364 GB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/1.665, allocations: 1.272 MB / 0.8376 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.665, allocations: 0 / 0.8376 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/1.666, allocations: 460.2 kB / 0.8381 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/1.666, allocations: 85.05 kB / 0.8382 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/1.666, allocations: 4 kB / 0.8382 GB, free: 18.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/1.666, allocations: 11.94 kB / 0.8382 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/1.666, allocations: 23.97 kB / 0.8382 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/1.667, allocations: 32.05 kB / 0.8382 GB, free: 18.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.201e-05/1.667, allocations: 95.55 kB / 0.8383 GB, free: 18.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.667, allocations: 0 / 0.8383 GB, free: 18.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006904/1.667, allocations: 111.9 kB / 0.8384 GB, free: 18.08 MB / 426.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001021/1.668, allocations: 0.5386 MB / 0.839 GB, free: 17.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/1.669, allocations: 187.8 kB / 0.8391 GB, free: 17.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.669, allocations: 192 / 0.8391 GB, free: 17.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/1.669, allocations: 230.4 kB / 0.8394 GB, free: 17.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/1.67, allocations: 43.27 kB / 0.8394 GB, free: 17.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/1.671, allocations: 363.3 kB / 0.8397 GB, free: 16.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/1.671, allocations: 0.7088 MB / 0.8404 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/1.671, allocations: 59.39 kB / 0.8405 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/1.671, allocations: 0 / 0.8405 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Templates: time 0.01236/1.684, allocations: 6.424 MB / 0.8468 GB, free: 9.453 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches