Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001151/0.001151, 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.001219/0.001219, allocations: 162.9 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.036/1.036, allocations: 177 MB / 205.9 MB, free: 4.457 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.154/0.154, 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.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.229e-05, allocations: 5.859 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01079/0.01083, allocations: 8.456 MB / 388.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009796/0.02063, allocations: 12.66 MB / 401.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.0207, allocations: 4 kB / 401.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.02095, allocations: 31.81 kB / 401.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006809/0.02776, allocations: 2.177 MB / 403.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.938e-06/0.02777, allocations: 8 kB / 403.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.0279, allocations: 55.59 kB / 403.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.02796, allocations: 0 / 403.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.02814, allocations: 39.84 kB / 403.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.02818, allocations: 11.94 kB / 403.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.02819, allocations: 3.938 kB / 403.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009067/0.03726, allocations: 5.886 MB / 409.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.03729, allocations: 7.938 kB / 409.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.03735, allocations: 19.98 kB / 409.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.04763, allocations: 5.068 MB / 414.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.04764, allocations: 3.984 kB / 414.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.04764, allocations: 0 / 414.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.04765, allocations: 0 / 414.4 MB, free: 4.242 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003536/0.05119, allocations: 0.6617 MB / 415.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.05124, allocations: 12.03 kB / 415.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.05141, allocations: 27.77 kB / 415.1 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.05155, allocations: 108.1 kB / 415.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.05157, allocations: 7.984 kB / 415.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.05159, allocations: 12 kB / 415.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.05183, allocations: 82.36 kB / 415.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.05184, allocations: 3.984 kB / 415.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.05185, allocations: 4 kB / 415.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.05186, allocations: 7.938 kB / 415.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.363e-05/0.05196, allocations: 55.89 kB / 415.4 MB, free: 3.191 MB / 330.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.0004455/0.0524, allocations: 312.1 kB / 415.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.05255, allocations: 70.95 kB / 415.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.05258, allocations: 31.61 kB / 415.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.05416, allocations: 0.85 MB / 416.6 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.05419, allocations: 37.48 kB / 416.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 4.419e-06/0.0542, allocations: 4 kB / 416.7 MB, free: 1.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003648/0.05456, allocations: 129.4 kB / 416.8 MB, free: 1.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.0546, allocations: 51.41 kB / 416.9 MB, free: 1.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.0547, allocations: 153.9 kB / 417 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.05471, allocations: 25.81 kB / 417 MB, free: 1.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.05479, allocations: 154.7 kB / 417.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.05481, allocations: 19.8 kB / 417.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.05485, allocations: 31.36 kB / 417.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.05499, allocations: 496.1 kB / 417.7 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.05503, allocations: 15.98 kB / 417.7 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.05507, allocations: 35.36 kB / 417.8 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.05513, allocations: 55.23 kB / 417.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.05514, allocations: 0 / 417.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001602/0.0553, allocations: 77.62 kB / 417.9 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.05531, allocations: 4 kB / 417.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.05532, allocations: 0 / 417.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.05534, allocations: 7.984 kB / 417.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.05542, allocations: 23.97 kB / 417.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.05542, allocations: 0 / 417.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.05545, allocations: 7.953 kB / 417.9 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.05546, allocations: 7.984 kB / 418 MB, free: 492 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.05555, allocations: 164.5 kB / 418.1 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.05559, allocations: 7.938 kB / 418.1 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.05586, allocations: 173.4 kB / 418.3 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.05587, allocations: 4 kB / 418.3 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.05587, allocations: 0 / 418.3 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.05588, allocations: 0 / 418.3 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.05606, allocations: 137.3 kB / 418.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.05607, allocations: 0 / 418.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.05612, allocations: 23.92 kB / 418.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.05613, allocations: 4 kB / 418.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.05614, allocations: 4 kB / 418.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.05614, allocations: 7.938 kB / 418.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.05614, allocations: 0 / 418.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.05639, allocations: 276.7 kB / 418.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.05641, allocations: 7.953 kB / 418.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.05642, allocations: 0 / 418.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.05645, allocations: 3.938 kB / 418.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.0565, allocations: 15.98 kB / 418.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.0565, allocations: 3.984 kB / 418.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.05655, allocations: 123.2 kB / 418.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05655, allocations: 0 / 418.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002966/0.05952, allocations: 378.9 kB / 419.3 MB, free: 15.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01022/0.06974, allocations: 3.654 MB / 422.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.07014, allocations: 67.56 kB / 423 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.07015, allocations: 0 / 423 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.07021, allocations: 51.72 kB / 423 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.07049, allocations: 19.98 kB / 423.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.07124, allocations: 254.2 kB / 423.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.07129, allocations: 71.2 kB / 423.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.0714, allocations: 54.17 kB / 423.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.07148, allocations: 90.19 kB / 423.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.854e-06/0.07148, allocations: 0 / 423.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of Templates: time 0.0227/0.09418, allocations: 18.55 MB / 442.1 MB, free: 8.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.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: 4.241169454995543]