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/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.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/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 113.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 62.42 MB / 0.5316 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1627/0.4884, allocations: 152.3 MB / 0.6803 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.4899, allocations: 1.051 MB / 0.6814 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.49, allocations: 11.94 kB / 0.6814 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.4903, allocations: 35.81 kB / 0.6814 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.4914, allocations: 270.5 kB / 0.6817 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4919, allocations: 115.6 kB / 0.6818 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.4922, allocations: 175.3 kB / 0.682 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.4923, allocations: 11.92 kB / 0.682 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.4925, allocations: 95.62 kB / 0.6821 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4927, allocations: 55.77 kB / 0.6821 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4927, allocations: 4 kB / 0.6821 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.4933, allocations: 275.7 kB / 0.6824 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.4934, allocations: 27.89 kB / 0.6824 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.4935, allocations: 43.8 kB / 0.6824 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.4941, allocations: 276.3 kB / 0.6827 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4941, allocations: 0 / 0.6827 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4941, allocations: 0 / 0.6827 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4941, allocations: 4 kB / 0.6827 GB, free: 6.633 MB / 0.5294 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.0006412/0.4948, allocations: 410.9 kB / 0.6831 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4948, allocations: 15.97 kB / 0.6831 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/0.4984, allocations: 196.6 kB / 0.6833 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.4987, allocations: 215.5 kB / 0.6835 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4988, allocations: 8 kB / 0.6835 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.4988, allocations: 8 kB / 0.6835 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.4993, allocations: 230.2 kB / 0.6837 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4994, allocations: 0 / 0.6837 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.4994, allocations: 0 / 0.6837 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4994, allocations: 4 kB / 0.6838 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.4999, allocations: 167.9 kB / 0.6839 GB, free: 5.305 MB / 0.5294 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.001071/0.5009, allocations: 0.5833 MB / 0.6845 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.5013, allocations: 134.5 kB / 0.6846 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5014, allocations: 72.83 kB / 0.6847 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5015, allocations: 7.969 kB / 0.6847 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5015, allocations: 34.56 kB / 0.6847 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/0.5015, allocations: 7.938 kB / 0.6847 GB, free: 4.391 MB / 0.5294 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.00516/0.5067, allocations: 1.293 MB / 0.686 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.5067, allocations: 59.41 kB / 0.686 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.5068, allocations: 113.8 kB / 0.6862 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.5069, allocations: 25.7 kB / 0.6862 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.5069, allocations: 99.98 kB / 0.6863 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.507, allocations: 75.36 kB / 0.6863 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.5071, allocations: 57.62 kB / 0.6864 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.5072, allocations: 322.8 kB / 0.6867 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5073, allocations: 63.97 kB / 0.6868 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.5076, allocations: 118.4 kB / 0.6869 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.5081, allocations: 182.7 kB / 0.6871 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5081, allocations: 0 / 0.6871 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004999/0.5086, allocations: 254.3 kB / 0.6873 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5086, allocations: 8 kB / 0.6873 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5086, allocations: 0 / 0.6873 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.5088, allocations: 56.77 kB / 0.6874 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.5092, allocations: 51.95 kB / 0.6874 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003841/0.5096, allocations: 0.5641 MB / 0.688 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.5098, allocations: 16 kB / 0.688 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.5098, allocations: 28 kB / 0.688 GB, free: 0.8359 MB / 0.5294 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 (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.0001073/0.5099, allocations: 121.8 kB / 0.6881 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.51, allocations: 11.91 kB / 0.6881 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000734/0.5107, allocations: 359 kB / 0.6885 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5107, allocations: 0 / 0.6885 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5108, allocations: 0 / 0.6885 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.5108, allocations: 85.06 kB / 0.6886 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.5108, allocations: 7.984 kB / 0.6886 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.5111, allocations: 8 kB / 0.6886 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.5111, allocations: 19.97 kB / 0.6886 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008278/0.512, allocations: 337.5 kB / 0.6889 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006113/0.5126, allocations: 454.5 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001632/0.5127, allocations: 79.47 kB / 0.6894 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.5128, allocations: 95.27 kB / 0.6895 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Backend: time 5.51e-07/0.5128, allocations: 0 / 0.6895 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.5138, allocations: 333.7 kB / 0.6898 GB, free: 14.9 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008435/0.5147, allocations: 0.865 MB / 0.6907 GB, free: 13.99 MB / 0.545 GB Notification: Performance of Templates: time 0.01061/0.5253, allocations: 6.734 MB / 0.6973 GB, free: 7.25 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches