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.001477/0.001477, allocations: 91.61 kB / 21.19 MB, free: 3.383 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.00148/0.00148, allocations: 160.5 kB / 24.56 MB, free: 24 kB / 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.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.578 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.3239/0.3239, allocations: 34.86 MB / 296.3 MB, free: 0.5625 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 2.144e-06/2.144e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.771e-05, allocations: 8.703 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3548/0.3548, allocations: 145.3 MB / 0.5117 GB, free: 17.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3559, allocations: 1.072 MB / 0.5128 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3559, allocations: 0 / 0.5128 GB, free: 16.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3562, allocations: 27.55 kB / 0.5128 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.357, allocations: 283.3 kB / 0.5131 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3573, allocations: 116.9 kB / 0.5132 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.3576, allocations: 183.3 kB / 0.5134 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.3576, allocations: 6.547 kB / 0.5134 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3578, allocations: 122.8 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.3579, allocations: 47.33 kB / 0.5135 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3579, allocations: 6.906 kB / 0.5135 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3584, allocations: 265.1 kB / 0.5138 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.3585, allocations: 25.58 kB / 0.5138 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3585, allocations: 34.3 kB / 0.5138 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.359, allocations: 303.7 kB / 0.5141 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.359, allocations: 0 / 0.5141 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.359, allocations: 4.641 kB / 0.5141 GB, free: 15.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.359, allocations: 0 / 0.5141 GB, free: 15.84 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.000458/0.3595, allocations: 439.2 kB / 0.5146 GB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3595, allocations: 12.38 kB / 0.5146 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.3607, allocations: 209 kB / 0.5148 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3609, allocations: 151.6 kB / 0.5149 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3609, allocations: 7.641 kB / 0.5149 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3609, allocations: 15.38 kB / 0.5149 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.3613, allocations: 297.6 kB / 0.5152 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3613, allocations: 0 / 0.5152 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3613, allocations: 4 kB / 0.5152 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3613, allocations: 7.703 kB / 0.5152 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3615, allocations: 130.4 kB / 0.5154 GB, free: 15.01 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.0006608/0.3622, allocations: 0.627 MB / 0.516 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3624, allocations: 137.6 kB / 0.5161 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.3625, allocations: 57.61 kB / 0.5162 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3625, allocations: 2.594 kB / 0.5162 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3625, allocations: 41.94 kB / 0.5162 GB, free: 14.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3625, allocations: 4 kB / 0.5162 GB, free: 14.3 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.002518/0.365, allocations: 0.9656 MB / 0.5171 GB, free: 13.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.365, allocations: 54.34 kB / 0.5172 GB, free: 13.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.3651, allocations: 172.2 kB / 0.5174 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3651, allocations: 29.7 kB / 0.5174 GB, free: 13.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.3652, allocations: 143.4 kB / 0.5175 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3652, allocations: 74.86 kB / 0.5176 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.3653, allocations: 58.31 kB / 0.5177 GB, free: 13.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.3653, allocations: 0.4907 MB / 0.5181 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.3654, allocations: 46.22 kB / 0.5182 GB, free: 12.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.3654, allocations: 98.41 kB / 0.5183 GB, free: 12.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3656, allocations: 155.1 kB / 0.5184 GB, free: 12.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3656, allocations: 0 / 0.5184 GB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002564/0.3659, allocations: 215.1 kB / 0.5186 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3659, allocations: 5.312 kB / 0.5186 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3659, allocations: 2.688 kB / 0.5186 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.366, allocations: 40.58 kB / 0.5187 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3662, allocations: 54.27 kB / 0.5187 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002256/0.3664, allocations: 0.8074 MB / 0.5195 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.3665, allocations: 9.922 kB / 0.5195 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3665, allocations: 20.97 kB / 0.5195 GB, free: 11.79 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.659e-05/0.3666, allocations: 166.1 kB / 0.5197 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.3666, allocations: 12.77 kB / 0.5197 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.367, allocations: 278.3 kB / 0.52 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.367, allocations: 3.5 kB / 0.52 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.367, allocations: 0 / 0.52 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.367, allocations: 3.938 kB / 0.52 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.3676, allocations: 0.5407 MB / 0.5205 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3676, allocations: 3.938 kB / 0.5205 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3677, allocations: 55.5 kB / 0.5206 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.3678, allocations: 25.23 kB / 0.5206 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3678, allocations: 12.11 kB / 0.5206 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004823/0.3683, allocations: 1.73 MB / 0.5223 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3683, allocations: 6.938 kB / 0.5223 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.3687, allocations: 436.7 kB / 0.5227 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.3687, allocations: 9.875 kB / 0.5227 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3687, allocations: 3.062 kB / 0.5227 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.3688, allocations: 6.938 kB / 0.5227 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3688, allocations: 30.25 kB / 0.5228 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3689, allocations: 17.16 kB / 0.5228 GB, free: 8.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.85e-05/0.3689, allocations: 131.5 kB / 0.5229 GB, free: 8.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3689, allocations: 0 / 0.5229 GB, free: 8.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.3692, allocations: 82.31 kB / 0.523 GB, free: 8.859 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.0002845/0.3695, allocations: 164.7 kB / 0.5231 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3698, allocations: 169.5 kB / 0.5233 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3698, allocations: 0 / 0.5233 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.37, allocations: 268 kB / 0.5236 GB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3702, allocations: 60.52 kB / 0.5236 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.3711, allocations: 396.5 kB / 0.524 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.3711, allocations: 74.25 kB / 0.5241 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.3713, allocations: 57.11 kB / 0.5241 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/0.3714, allocations: 50.52 kB / 0.5242 GB, free: 8.078 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3714, allocations: 0 / 0.5242 GB, free: 8.078 MB / 410.7 MB Notification: Performance of Templates: time 0.007944/0.3793, allocations: 5.872 MB / 0.5299 GB, free: 7.512 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.5843200967647135]