Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.0009396/0.0009396, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002075, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001073/0.001073, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002384, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.024/1.024, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.131, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.284/0.284, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03345/0.3175, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/2.056e-05, allocations: 6.312 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1622/0.1622, allocations: 145.3 MB / 439.2 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1639, allocations: 1.636 MB / 440.8 MB, free: 1.707 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.164, allocations: 0 / 440.8 MB, free: 1.707 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1643, allocations: 39.75 kB / 440.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.1651, allocations: 417.6 kB / 441.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1656, allocations: 175.4 kB / 441.4 MB, free: 1.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.166, allocations: 195.1 kB / 441.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1661, allocations: 7.984 kB / 441.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1663, allocations: 103.7 kB / 441.7 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1665, allocations: 55.81 kB / 441.8 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1665, allocations: 4 kB / 441.8 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008986/0.1674, allocations: 0.5727 MB / 442.3 MB, free: 156 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.1674, allocations: 27.92 kB / 442.4 MB, free: 128 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1675, allocations: 28 kB / 442.4 MB, free: 100 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2327/0.4002, allocations: 357.1 kB / 442.7 MB, free: 4.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.4002, allocations: 0.5312 kB / 442.7 MB, free: 4.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4002, allocations: 0 / 442.7 MB, free: 4.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4002, allocations: 0.5938 kB / 442.7 MB, free: 4.316 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006814/0.4009, allocations: 387.5 kB / 443.1 MB, free: 20.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4009, allocations: 10.02 kB / 443.1 MB, free: 20.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.402, allocations: 320.2 kB / 443.4 MB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4022, allocations: 136.3 kB / 443.6 MB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.4022, allocations: 8.75 kB / 443.6 MB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.4023, allocations: 12.55 kB / 443.6 MB, free: 19.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.4025, allocations: 238.1 kB / 443.8 MB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4025, allocations: 0.5938 kB / 443.8 MB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.4025, allocations: 5.906 kB / 443.8 MB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4025, allocations: 2.375 kB / 443.8 MB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4027, allocations: 105.3 kB / 443.9 MB, free: 19.68 MB / 442.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.0007263/0.4034, allocations: 349.1 kB / 444.3 MB, free: 19.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.4036, allocations: 128.3 kB / 444.4 MB, free: 19.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.4036, allocations: 56.7 kB / 444.5 MB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/0.4037, allocations: 19.55 kB / 444.5 MB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4037, allocations: 30.56 kB / 444.5 MB, free: 19.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4037, allocations: 0 / 444.5 MB, free: 19.45 MB / 442.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.002067/0.4058, allocations: 1.016 MB / 445.5 MB, free: 19.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4058, allocations: 61.98 kB / 445.6 MB, free: 18.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.4059, allocations: 121.7 kB / 445.7 MB, free: 18.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4059, allocations: 25.7 kB / 445.7 MB, free: 18.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.4059, allocations: 104.2 kB / 445.8 MB, free: 18.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.406, allocations: 66.67 kB / 445.9 MB, free: 18.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.406, allocations: 47.61 kB / 445.9 MB, free: 18.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.4061, allocations: 323.3 kB / 446.3 MB, free: 18.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.4061, allocations: 39.62 kB / 446.3 MB, free: 18.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.4062, allocations: 71.48 kB / 446.4 MB, free: 18.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.4063, allocations: 139 kB / 446.5 MB, free: 18.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4063, allocations: 0 / 446.5 MB, free: 18.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002011/0.4065, allocations: 176.7 kB / 446.7 MB, free: 18.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4065, allocations: 9.219 kB / 446.7 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4065, allocations: 0.8438 kB / 446.7 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.4066, allocations: 27.48 kB / 446.7 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.4069, allocations: 69.11 kB / 446.8 MB, free: 18.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/0.4076, allocations: 1.231 MB / 448 MB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4077, allocations: 10.25 kB / 448 MB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.4077, allocations: 10.14 kB / 448 MB, free: 17.09 MB / 442.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.4078, allocations: 124.1 kB / 448.2 MB, free: 16.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.4078, allocations: 22.62 kB / 448.2 MB, free: 16.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4081, allocations: 204.3 kB / 448.4 MB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4081, allocations: 2.594 kB / 448.4 MB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4081, allocations: 3.031 kB / 448.4 MB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4081, allocations: 1.875 kB / 448.4 MB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.4085, allocations: 395.1 kB / 448.8 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4085, allocations: 5.844 kB / 448.8 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4087, allocations: 68.28 kB / 448.8 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.4087, allocations: 7.344 kB / 448.8 MB, free: 16.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.435e-05/0.4088, allocations: 18.67 kB / 448.9 MB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4088, allocations: 12.05 kB / 448.9 MB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004924/0.4093, allocations: 1.161 MB / 450 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4093, allocations: 4.766 kB / 450 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.4096, allocations: 349.8 kB / 450.4 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4096, allocations: 3.297 kB / 450.4 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4097, allocations: 12.11 kB / 450.4 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4098, allocations: 16.88 kB / 450.4 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4098, allocations: 9.031 kB / 450.4 MB, free: 15.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.4098, allocations: 13.42 kB / 450.4 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4098, allocations: 1.094 kB / 450.4 MB, free: 15.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.4101, allocations: 128.7 kB / 450.6 MB, free: 15.34 MB / 442.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 (19): * Single equations (assignments): 18 * 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.000383/0.4105, allocations: 223 kB / 450.8 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.4108, allocations: 267.9 kB / 451 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4108, allocations: 0.6094 kB / 451 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4109, allocations: 198.5 kB / 451.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.4112, allocations: 68.69 kB / 451.3 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.4131, allocations: 362.7 kB / 451.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.903e-05/0.4131, allocations: 73.83 kB / 451.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.4133, allocations: 48.92 kB / 451.8 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.4135, allocations: 95.58 kB / 451.9 MB, free: 14.67 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4135, allocations: 0 / 451.9 MB, free: 14.67 MB / 442.7 MB Notification: Performance of Templates: time 0.007293/0.4208, allocations: 6.724 MB / 458.6 MB, free: 14.36 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.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.301891067996621]