Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 199.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008701/0.0008703, allocations: 102.5 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.293/0.293, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 8 kB / 468.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 63.24 MB / 0.5192 GB, free: 43.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8458/1.151, allocations: 463.6 MB / 0.9719 GB, free: 146.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/1.152, allocations: 77.83 kB / 0.972 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05547/1.207, allocations: 30.58 MB / 1.002 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/1.207, allocations: 0 / 1.002 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.445e-05/1.207, allocations: 7.625 kB / 1.002 GB, free: 120.7 MB / 0.5417 GB 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.000381/1.208, allocations: 397.6 kB / 1.002 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.208, allocations: 8.031 kB / 1.002 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/1.209, allocations: 192 kB / 1.002 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/1.209, allocations: 208 kB / 1.003 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.209, allocations: 3.953 kB / 1.003 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/1.21, allocations: 11.31 kB / 1.003 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/1.21, allocations: 224 kB / 1.003 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.21, allocations: 0 / 1.003 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.21, allocations: 4 kB / 1.003 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.21, allocations: 4 kB / 1.003 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/1.21, allocations: 164.5 kB / 1.003 GB, free: 119.5 MB / 0.5417 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.0008292/1.211, allocations: 0.5699 MB / 1.004 GB, free: 119 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/1.212, allocations: 144.8 kB / 1.004 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.212, allocations: 0 / 1.004 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/1.212, allocations: 38.52 kB / 1.004 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/1.212, allocations: 0 / 1.004 GB, free: 118.8 MB / 0.5417 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.004834/1.216, allocations: 1.317 MB / 1.005 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/1.216, allocations: 63.34 kB / 1.005 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/1.217, allocations: 100.4 kB / 1.005 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.217, allocations: 33.44 kB / 1.005 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/1.217, allocations: 88.05 kB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/1.217, allocations: 77.05 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/1.217, allocations: 3.438 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/1.217, allocations: 318.5 kB / 1.006 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/1.217, allocations: 72.95 kB / 1.006 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.217, allocations: 104.8 kB / 1.006 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.217, allocations: 79.11 kB / 1.006 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.217, allocations: 0 / 1.006 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004111/1.218, allocations: 260.3 kB / 1.006 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.218, allocations: 15.98 kB / 1.006 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.218, allocations: 4 kB / 1.006 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/1.218, allocations: 48.39 kB / 1.006 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/1.218, allocations: 59.52 kB / 1.006 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002959/1.218, allocations: 0.5581 MB / 1.007 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.219, allocations: 12.12 kB / 1.007 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/1.219, allocations: 31.55 kB / 1.007 GB, free: 115.8 MB / 0.5417 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 0.0001053/1.219, allocations: 125 kB / 1.007 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/1.219, allocations: 7.906 kB / 1.007 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/1.22, allocations: 343.4 kB / 1.007 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.22, allocations: 0 / 1.007 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.22, allocations: 3.938 kB / 1.007 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.22, allocations: 0 / 1.007 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/1.22, allocations: 0.615 MB / 1.008 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/1.22, allocations: 0 / 1.008 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.221, allocations: 66.89 kB / 1.008 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.123e-05/1.221, allocations: 16.84 kB / 1.008 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/1.221, allocations: 15.42 kB / 1.008 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005668/1.221, allocations: 1.284 MB / 1.009 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.221, allocations: 3.938 kB / 1.009 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/1.222, allocations: 463.7 kB / 1.01 GB, free: 113 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/1.222, allocations: 96.27 kB / 1.01 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/1.222, allocations: 8 kB / 1.01 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/1.222, allocations: 13.61 kB / 1.01 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.222, allocations: 23.92 kB / 1.01 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.222, allocations: 23.56 kB / 1.01 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.369e-05/1.222, allocations: 94.31 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.2e-07/1.222, allocations: 3.938 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005117/1.223, allocations: 116.2 kB / 1.01 GB, free: 112.6 MB / 0.5417 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 (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.0007559/1.224, allocations: 0.5417 MB / 1.011 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004572/1.224, allocations: 205.6 kB / 1.011 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.224, allocations: 0 / 1.011 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/1.224, allocations: 217.9 kB / 1.011 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/1.225, allocations: 45.78 kB / 1.011 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/1.225, allocations: 0.578 MB / 1.012 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/1.226, allocations: 0.7088 MB / 1.012 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000398/1.226, allocations: 73.62 kB / 1.012 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/1.226, allocations: 51.41 kB / 1.012 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/1.226, allocations: 0 / 1.012 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.01257/1.239, allocations: 11.04 MB / 1.023 GB, free: 99.23 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches