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.001201/0.001201, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 103 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3969/0.3969, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 67.83 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4233, allocations: 62.01 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2023/0.6256, allocations: 147.2 MB / 0.6589 GB, free: 5.902 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.6275, allocations: 1.009 MB / 0.6599 GB, free: 4.891 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.6275, allocations: 0 / 0.6599 GB, free: 4.891 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.6278, allocations: 23.83 kB / 0.6599 GB, free: 4.867 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.6287, allocations: 215 kB / 0.6601 GB, free: 4.656 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.6292, allocations: 113.4 kB / 0.6602 GB, free: 4.547 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.6295, allocations: 203.2 kB / 0.6604 GB, free: 4.348 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.6295, allocations: 8 kB / 0.6604 GB, free: 4.34 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.6298, allocations: 85.73 kB / 0.6605 GB, free: 4.258 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.6299, allocations: 59.77 kB / 0.6606 GB, free: 4.199 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.63, allocations: 4 kB / 0.6606 GB, free: 4.195 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.6307, allocations: 263.7 kB / 0.6608 GB, free: 3.938 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.6308, allocations: 19.92 kB / 0.6608 GB, free: 3.918 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.6309, allocations: 47.78 kB / 0.6609 GB, free: 3.871 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.6317, allocations: 287.3 kB / 0.6612 GB, free: 3.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.6317, allocations: 0 / 0.6612 GB, free: 3.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6317, allocations: 0 / 0.6612 GB, free: 3.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.6317, allocations: 0 / 0.6612 GB, free: 3.59 MB / 474.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.0007112/0.6324, allocations: 411.3 kB / 0.6615 GB, free: 3.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.6325, allocations: 8.031 kB / 0.6616 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/0.6359, allocations: 196.5 kB / 0.6617 GB, free: 2.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.6362, allocations: 207.6 kB / 0.6619 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6363, allocations: 8 kB / 0.6619 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.6364, allocations: 8 kB / 0.662 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.6371, allocations: 226.8 kB / 0.6622 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6372, allocations: 0 / 0.6622 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.6372, allocations: 4 kB / 0.6622 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6372, allocations: 0 / 0.6622 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.6379, allocations: 175.8 kB / 0.6623 GB, free: 2.273 MB / 474.7 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.001331/0.6393, allocations: 0.5832 MB / 0.6629 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.6398, allocations: 138.5 kB / 0.663 GB, free: 1.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.64, allocations: 81 kB / 0.6631 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.64, allocations: 11.97 kB / 0.6631 GB, free: 1.395 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6401, allocations: 34.56 kB / 0.6632 GB, free: 1.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.6401, allocations: 3.938 kB / 0.6632 GB, free: 1.348 MB / 474.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.007822/0.6479, allocations: 1.3 MB / 0.6644 GB, free: 15.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.648, allocations: 51.41 kB / 0.6645 GB, free: 15.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.6481, allocations: 113.8 kB / 0.6646 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.6482, allocations: 25.7 kB / 0.6646 GB, free: 15.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.6483, allocations: 99.94 kB / 0.6647 GB, free: 15.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.6484, allocations: 67.03 kB / 0.6648 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.6485, allocations: 57.69 kB / 0.6648 GB, free: 15.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6487, allocations: 330.8 kB / 0.6651 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.6489, allocations: 67.83 kB / 0.6652 GB, free: 15.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.6492, allocations: 104.3 kB / 0.6653 GB, free: 15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.6497, allocations: 183.4 kB / 0.6655 GB, free: 14.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6498, allocations: 0 / 0.6655 GB, free: 14.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007677/0.6505, allocations: 261.5 kB / 0.6657 GB, free: 14.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6506, allocations: 4 kB / 0.6657 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6506, allocations: 0 / 0.6657 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.6508, allocations: 52.83 kB / 0.6658 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.6514, allocations: 67.98 kB / 0.6659 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005344/0.6519, allocations: 0.5601 MB / 0.6664 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.6522, allocations: 8.031 kB / 0.6664 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.6523, allocations: 24 kB / 0.6664 GB, free: 13.8 MB / 490.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.6524, allocations: 134.7 kB / 0.6666 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.6525, allocations: 7.906 kB / 0.6666 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.6538, allocations: 339 kB / 0.6669 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6538, allocations: 4 kB / 0.6669 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6539, allocations: 0 / 0.6669 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6539, allocations: 3.984 kB / 0.6669 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.6553, allocations: 0.6229 MB / 0.6675 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6554, allocations: 4 kB / 0.6675 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.6559, allocations: 55.95 kB / 0.6676 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.656, allocations: 20.84 kB / 0.6676 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.656, allocations: 15.98 kB / 0.6676 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.6573, allocations: 1.276 MB / 0.6688 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.6573, allocations: 4.031 kB / 0.6689 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03525/0.6926, allocations: 5.154 MB / 0.6739 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.6927, allocations: 88.95 kB / 0.674 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.6927, allocations: 0 / 0.674 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.6931, allocations: 8 kB / 0.674 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.6932, allocations: 32.16 kB / 0.674 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.6932, allocations: 24.08 kB / 0.674 GB, free: 5.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.6933, allocations: 95.2 kB / 0.6741 GB, free: 5.379 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6933, allocations: 0 / 0.6741 GB, free: 5.379 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001231/0.6946, allocations: 263.9 kB / 0.6744 GB, free: 5.121 MB / 490.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.6961, allocations: 206.9 kB / 0.6746 GB, free: 4.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.6969, allocations: 203.9 kB / 0.6748 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6969, allocations: 3.938 kB / 0.6748 GB, free: 4.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.6973, allocations: 214.6 kB / 0.675 GB, free: 4.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.698, allocations: 56.27 kB / 0.675 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.6995, allocations: 0.8078 MB / 0.6758 GB, free: 3.562 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6998, allocations: 0.7092 MB / 0.6765 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009914/0.7008, allocations: 129.4 kB / 0.6766 GB, free: 2.699 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.7013, allocations: 91.31 kB / 0.6767 GB, free: 2.609 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7013, allocations: 0 / 0.6767 GB, free: 2.609 MB / 490.7 MB Notification: Performance of Templates: time 0.2999/1.001, allocations: 17.65 MB / 0.694 GB, free: 142 MB / 490.7 MB 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@2/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