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.002144/0.002144, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.003033/0.003033, allocations: 160.9 kB / 24.27 MB, free: 168 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.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3535/0.3535, allocations: 34.25 MB / 295.2 MB, free: 0.625 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.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 1.904e-06/1.904e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.003e-05, allocations: 6.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01408/0.01411, allocations: 8.051 MB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.03036, allocations: 11.45 MB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.03039, allocations: 0 / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.0306, allocations: 39.75 kB / 396.7 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.03642, allocations: 2.166 MB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.388e-06/0.03642, allocations: 0 / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.03653, allocations: 63.59 kB / 399 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.03656, allocations: 0 / 399 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.03673, allocations: 35.84 kB / 399 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.03677, allocations: 15.97 kB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.03678, allocations: 7.938 kB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.04748, allocations: 5.878 MB / 404.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.0475, allocations: 11.92 kB / 404.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.04756, allocations: 15.98 kB / 404.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.05982, allocations: 5.068 MB / 410 MB, free: 2.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.05983, allocations: 4 kB / 410 MB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05983, allocations: 0 / 410 MB, free: 2.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.05984, allocations: 4 kB / 410 MB, free: 2.016 MB / 378.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.002967/0.0628, allocations: 0.558 MB / 410.5 MB, free: 1.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.06284, allocations: 12.03 kB / 410.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.06302, allocations: 27.83 kB / 410.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.06314, allocations: 105.2 kB / 410.7 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.06316, allocations: 15.98 kB / 410.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.06318, allocations: 4 kB / 410.7 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.06352, allocations: 117.6 kB / 410.8 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.06353, allocations: 0 / 410.8 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.06354, allocations: 4 kB / 410.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.06354, allocations: 3.938 kB / 410.8 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.06395, allocations: 131.8 kB / 411 MB, free: 0.9805 MB / 378.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.0005842/0.06453, allocations: 288.3 kB / 411.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.06485, allocations: 74.52 kB / 411.3 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.06498, allocations: 48.7 kB / 411.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003375/0.06835, allocations: 0.9008 MB / 412.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.06839, allocations: 34.56 kB / 412.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.0684, allocations: 0 / 412.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007382/0.06913, allocations: 153.4 kB / 412.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.06918, allocations: 55.41 kB / 412.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.06929, allocations: 97.86 kB / 412.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.06931, allocations: 25.7 kB / 412.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.06938, allocations: 92.02 kB / 412.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.06941, allocations: 27.8 kB / 412.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.06946, allocations: 25.7 kB / 412.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.06965, allocations: 315 kB / 413.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.06977, allocations: 35.92 kB / 413.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.0699, allocations: 45.67 kB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.07012, allocations: 70.08 kB / 413.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.07013, allocations: 4 kB / 413.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003318/0.07046, allocations: 101.6 kB / 413.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.07049, allocations: 7.984 kB / 413.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.07049, allocations: 0 / 413.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.07051, allocations: 4 kB / 413.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.07063, allocations: 23.92 kB / 413.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.07064, allocations: 0 / 413.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.07069, allocations: 7.953 kB / 413.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.07071, allocations: 8.031 kB / 413.4 MB, free: 14.44 MB / 394.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 0.0001104/0.07082, allocations: 117.8 kB / 413.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.07088, allocations: 7.938 kB / 413.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.07144, allocations: 261.4 kB / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.07145, allocations: 8 kB / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.07145, allocations: 0 / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.07145, allocations: 0 / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.07191, allocations: 165.3 kB / 413.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.07191, allocations: 0 / 413.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.07202, allocations: 23.98 kB / 413.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.07202, allocations: 3.938 kB / 413.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.07203, allocations: 0 / 413.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.07203, allocations: 4 kB / 414 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.07203, allocations: 0 / 414 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.0725, allocations: 274.4 kB / 414.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.07252, allocations: 11.89 kB / 414.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.07254, allocations: 4 kB / 414.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.07262, allocations: 7.984 kB / 414.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.07267, allocations: 11.98 kB / 414.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.07268, allocations: 0 / 414.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.012e-05/0.07274, allocations: 87.27 kB / 414.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07274, allocations: 0 / 414.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002219/0.07496, allocations: 374.9 kB / 414.7 MB, free: 13.04 MB / 394.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.01374/0.08869, allocations: 3.621 MB / 418.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.0891, allocations: 95.88 kB / 418.4 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0891, allocations: 4.062 kB / 418.4 MB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.08926, allocations: 55.97 kB / 418.5 MB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.08963, allocations: 19.98 kB / 418.5 MB, free: 9.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.09022, allocations: 244.5 kB / 418.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.398e-05/0.09032, allocations: 79.33 kB / 418.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.09044, allocations: 43.83 kB / 418.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.09049, allocations: 20.5 kB / 418.9 MB, free: 8.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.09049, allocations: 3.938 kB / 418.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of Templates: time 0.02829/0.1188, allocations: 16.46 MB / 435.3 MB, free: 8.332 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.216505919001065]