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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.048/1.048, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.339e-05, allocations: 6.062 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3886/0.3886, allocations: 142.5 MB / 0.5103 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.39, allocations: 1.064 MB / 0.5113 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.3901, allocations: 0 / 0.5113 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.3904, allocations: 31.25 kB / 0.5114 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007909/0.3912, allocations: 283.3 kB / 0.5116 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.3916, allocations: 121.8 kB / 0.5117 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.3918, allocations: 175.7 kB / 0.5119 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.3919, allocations: 11.53 kB / 0.5119 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.3921, allocations: 122.4 kB / 0.512 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.3922, allocations: 47.81 kB / 0.5121 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3922, allocations: 5.031 kB / 0.5121 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.3925, allocations: 262.9 kB / 0.5123 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.3926, allocations: 25.31 kB / 0.5124 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3926, allocations: 30.17 kB / 0.5124 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.393, allocations: 312.9 kB / 0.5127 GB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.393, allocations: 0 / 0.5127 GB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.393, allocations: 4 kB / 0.5127 GB, free: 16.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.393, allocations: 0 / 0.5127 GB, free: 16.27 MB / 410.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.0004337/0.3935, allocations: 439.8 kB / 0.5131 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3935, allocations: 10.72 kB / 0.5131 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.3946, allocations: 211 kB / 0.5133 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3948, allocations: 152.1 kB / 0.5135 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3948, allocations: 7.578 kB / 0.5135 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3949, allocations: 13.12 kB / 0.5135 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3952, allocations: 279.5 kB / 0.5138 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3952, allocations: 0 / 0.5138 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3952, allocations: 4.781 kB / 0.5138 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3952, allocations: 3.5 kB / 0.5138 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3953, allocations: 105.7 kB / 0.5139 GB, free: 15.53 MB / 410.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.0005742/0.3959, allocations: 0.6126 MB / 0.5145 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3961, allocations: 115.7 kB / 0.5146 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.3961, allocations: 56.48 kB / 0.5146 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3962, allocations: 3.5 kB / 0.5146 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3962, allocations: 41.02 kB / 0.5147 GB, free: 14.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3962, allocations: 2.875 kB / 0.5147 GB, free: 14.92 MB / 410.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.002217/0.3984, allocations: 0.8547 MB / 0.5155 GB, free: 14.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3984, allocations: 56.69 kB / 0.5156 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.3985, allocations: 169.6 kB / 0.5157 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3985, allocations: 31.89 kB / 0.5158 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.3985, allocations: 144.8 kB / 0.5159 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.3986, allocations: 63.72 kB / 0.516 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.3986, allocations: 64.39 kB / 0.516 GB, free: 14.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3987, allocations: 0.4911 MB / 0.5165 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.3987, allocations: 39.45 kB / 0.5165 GB, free: 13.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.3988, allocations: 83.86 kB / 0.5166 GB, free: 13.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3989, allocations: 136.9 kB / 0.5167 GB, free: 13.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3989, allocations: 3.562 kB / 0.5167 GB, free: 13.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002198/0.3992, allocations: 197.8 kB / 0.5169 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3992, allocations: 5.844 kB / 0.5169 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3992, allocations: 0 / 0.5169 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.3993, allocations: 37.72 kB / 0.517 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3995, allocations: 52.92 kB / 0.517 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002151/0.3997, allocations: 0.808 MB / 0.5178 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.3997, allocations: 6.25 kB / 0.5178 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.3998, allocations: 22.03 kB / 0.5178 GB, free: 12.67 MB / 410.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 7.441e-05/0.3998, allocations: 173 kB / 0.518 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3999, allocations: 12.92 kB / 0.518 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.4002, allocations: 252.3 kB / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4002, allocations: 8.75 kB / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4002, allocations: 0 / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4002, allocations: 0 / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.4007, allocations: 0.5168 MB / 0.5188 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4007, allocations: 0 / 0.5188 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4009, allocations: 55.88 kB / 0.5188 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.4011, allocations: 25.34 kB / 0.5188 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4011, allocations: 15.31 kB / 0.5189 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006667/0.4017, allocations: 1.695 MB / 0.5205 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4017, allocations: 2.156 kB / 0.5205 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.4022, allocations: 411.5 kB / 0.5209 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.4022, allocations: 12.39 kB / 0.5209 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4022, allocations: 6.5 kB / 0.5209 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.4023, allocations: 8.953 kB / 0.5209 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4024, allocations: 24.56 kB / 0.521 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.4024, allocations: 20.67 kB / 0.521 GB, free: 10.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.4024, allocations: 135.6 kB / 0.5211 GB, free: 10.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4024, allocations: 0 / 0.5211 GB, free: 10.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000437/0.4029, allocations: 83.11 kB / 0.5212 GB, free: 10.02 MB / 410.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 (20): * Single equations (assignments): 19 * 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.0003242/0.4032, allocations: 151.4 kB / 0.5213 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.4035, allocations: 151.2 kB / 0.5215 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4035, allocations: 0 / 0.5215 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4038, allocations: 264.5 kB / 0.5217 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.4042, allocations: 60.94 kB / 0.5218 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.4051, allocations: 397.6 kB / 0.5222 GB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.4052, allocations: 73.66 kB / 0.5222 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.4054, allocations: 58.56 kB / 0.5223 GB, free: 9.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4057, allocations: 144.6 kB / 0.5224 GB, free: 9.262 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4057, allocations: 2.156 kB / 0.5224 GB, free: 9.262 MB / 410.7 MB Notification: Performance of Templates: time 0.01096/0.4166, allocations: 6.015 MB / 0.5283 GB, free: 8.727 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.846430873963982]