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.001578/0.001578, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00113/0.00113, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.594 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.2993/0.2993, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.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.783e-06/1.783e-06, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.956e-05, allocations: 6.25 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3327/0.3327, allocations: 145 MB / 0.5114 GB, free: 17.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3339, allocations: 1.069 MB / 0.5125 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.334, allocations: 0 / 0.5125 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.3343, allocations: 31.5 kB / 0.5125 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007228/0.335, allocations: 291.7 kB / 0.5128 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.3354, allocations: 109 kB / 0.5129 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3356, allocations: 183.2 kB / 0.5131 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.3356, allocations: 3.125 kB / 0.5131 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3359, allocations: 127.4 kB / 0.5132 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.336, allocations: 51.67 kB / 0.5132 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.336, allocations: 9.562 kB / 0.5133 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.3365, allocations: 256 kB / 0.5135 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.3365, allocations: 21.41 kB / 0.5135 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3366, allocations: 38.06 kB / 0.5136 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.3371, allocations: 304.3 kB / 0.5138 GB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3371, allocations: 0 / 0.5138 GB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3371, allocations: 0 / 0.5138 GB, free: 16.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3371, allocations: 0 / 0.5138 GB, free: 16.14 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.0004571/0.3376, allocations: 443.2 kB / 0.5143 GB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3376, allocations: 15.66 kB / 0.5143 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3388, allocations: 205.6 kB / 0.5145 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3391, allocations: 154.5 kB / 0.5146 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3391, allocations: 14.23 kB / 0.5146 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.3392, allocations: 17.66 kB / 0.5147 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.3395, allocations: 287.7 kB / 0.5149 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3395, allocations: 0 / 0.5149 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3395, allocations: 2.625 kB / 0.5149 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3396, allocations: 6.844 kB / 0.5149 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3398, allocations: 128.1 kB / 0.5151 GB, free: 15.3 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.0006971/0.3405, allocations: 0.6297 MB / 0.5157 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3407, allocations: 135.8 kB / 0.5158 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.3408, allocations: 59.61 kB / 0.5159 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3408, allocations: 3.828 kB / 0.5159 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3408, allocations: 37.03 kB / 0.5159 GB, free: 14.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3408, allocations: 4 kB / 0.5159 GB, free: 14.6 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.002682/0.3435, allocations: 0.9767 MB / 0.5169 GB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.3435, allocations: 54.44 kB / 0.5169 GB, free: 14.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.3436, allocations: 168.6 kB / 0.5171 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3436, allocations: 34.56 kB / 0.5171 GB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3436, allocations: 145.5 kB / 0.5172 GB, free: 13.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3437, allocations: 62.77 kB / 0.5173 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.3437, allocations: 61.56 kB / 0.5174 GB, free: 13.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.3438, allocations: 0.4908 MB / 0.5178 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.3439, allocations: 46.7 kB / 0.5179 GB, free: 13.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.3439, allocations: 90.16 kB / 0.518 GB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3441, allocations: 158.8 kB / 0.5181 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3441, allocations: 0 / 0.5181 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002703/0.3444, allocations: 216.8 kB / 0.5183 GB, free: 12.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3444, allocations: 5.438 kB / 0.5183 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3444, allocations: 3.047 kB / 0.5183 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.3445, allocations: 40.67 kB / 0.5184 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3447, allocations: 54.12 kB / 0.5184 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002123/0.3449, allocations: 0.8093 MB / 0.5192 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.345, allocations: 6.656 kB / 0.5192 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.345, allocations: 18.41 kB / 0.5192 GB, free: 12.09 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.305e-05/0.3451, allocations: 167.5 kB / 0.5194 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3451, allocations: 16.92 kB / 0.5194 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.3455, allocations: 275.7 kB / 0.5197 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3455, allocations: 2.906 kB / 0.5197 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3455, allocations: 3.938 kB / 0.5197 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3455, allocations: 6 kB / 0.5197 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.346, allocations: 0.5446 MB / 0.5202 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.346, allocations: 6.438 kB / 0.5202 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3462, allocations: 54.38 kB / 0.5203 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.7e-05/0.3463, allocations: 25.02 kB / 0.5203 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3463, allocations: 11.89 kB / 0.5203 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/0.3469, allocations: 1.721 MB / 0.522 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3469, allocations: 0 / 0.522 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3473, allocations: 439.1 kB / 0.5224 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.3473, allocations: 6.516 kB / 0.5224 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3473, allocations: 6.406 kB / 0.5224 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3474, allocations: 11.92 kB / 0.5224 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3474, allocations: 22.25 kB / 0.5225 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.3475, allocations: 26.91 kB / 0.5225 GB, free: 9.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.61e-05/0.3475, allocations: 131.9 kB / 0.5226 GB, free: 9.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3475, allocations: 0 / 0.5226 GB, free: 9.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.3478, allocations: 83.91 kB / 0.5227 GB, free: 9.148 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.0003049/0.3481, allocations: 152 kB / 0.5228 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3484, allocations: 171.2 kB / 0.523 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3484, allocations: 1.625 kB / 0.523 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.3486, allocations: 269.2 kB / 0.5233 GB, free: 8.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3489, allocations: 61.78 kB / 0.5233 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.3499, allocations: 407.2 kB / 0.5237 GB, free: 8.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.35, allocations: 73.8 kB / 0.5238 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3501, allocations: 62.41 kB / 0.5238 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3502, allocations: 46.7 kB / 0.5239 GB, free: 8.367 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3502, allocations: 0 / 0.5239 GB, free: 8.367 MB / 410.7 MB Notification: Performance of Templates: time 0.006675/0.3569, allocations: 5.342 MB / 0.5291 GB, free: 7.918 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.7231461030896753]