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.0009363/0.0009363, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0008953/0.0008953, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 0.9774/0.9774, allocations: 177 MB / 205.1 MB, free: 5.469 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.2505/0.2505, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.824e-06/1.824e-06, allocations: 3.938 kB / 379.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.755e-05, allocations: 11.23 kB / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009282/0.009309, allocations: 8.474 MB / 387.7 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008628/0.01794, allocations: 12.65 MB / 400.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.01797, allocations: 0 / 400.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.01815, allocations: 35.77 kB / 400.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.02173, allocations: 2.183 MB / 402.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.02173, allocations: 0 / 402.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.0218, allocations: 55.59 kB / 402.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.02184, allocations: 7.984 kB / 402.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.02195, allocations: 35.84 kB / 402.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/0.02197, allocations: 16 kB / 402.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.02198, allocations: 7.984 kB / 402.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005773/0.02775, allocations: 5.89 MB / 408.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.02777, allocations: 3.938 kB / 408.6 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.02779, allocations: 11.98 kB / 408.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006413/0.0342, allocations: 5.075 MB / 413.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.03421, allocations: 0 / 413.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03421, allocations: 0 / 413.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.03421, allocations: 0 / 413.7 MB, free: 15.31 MB / 394.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.001256/0.03547, allocations: 0.6576 MB / 414.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.03551, allocations: 8.031 kB / 414.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.0356, allocations: 31.81 kB / 414.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.03568, allocations: 112 kB / 414.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.03569, allocations: 4 kB / 414.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.0357, allocations: 4 kB / 414.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.03587, allocations: 94.34 kB / 414.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.03587, allocations: 0 / 414.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.03588, allocations: 0 / 414.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.03589, allocations: 7.938 kB / 414.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.03597, allocations: 51.95 kB / 414.6 MB, free: 14.27 MB / 394.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.0003076/0.03627, allocations: 320.1 kB / 414.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.03638, allocations: 71 kB / 415 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.0364, allocations: 23.67 kB / 415 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.03799, allocations: 0.8734 MB / 415.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.03801, allocations: 37.33 kB / 415.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.03801, allocations: 0 / 415.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002806/0.03829, allocations: 125.4 kB / 416.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.03832, allocations: 59.34 kB / 416.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.03839, allocations: 161.9 kB / 416.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.0384, allocations: 25.7 kB / 416.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.03845, allocations: 134.9 kB / 416.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.03846, allocations: 23.73 kB / 416.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.0385, allocations: 35.34 kB / 416.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.0386, allocations: 496.1 kB / 417 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.03862, allocations: 11.98 kB / 417 MB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.03865, allocations: 35.34 kB / 417 MB, free: 11.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.0387, allocations: 51.84 kB / 417.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0387, allocations: 0 / 417.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.03881, allocations: 93.48 kB / 417.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.03882, allocations: 4 kB / 417.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.03882, allocations: 0 / 417.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.03884, allocations: 0 / 417.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.03889, allocations: 19.98 kB / 417.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.03889, allocations: 3.938 kB / 417.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.03891, allocations: 11.94 kB / 417.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.03892, allocations: 8.031 kB / 417.2 MB, free: 11.54 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 5.762e-05/0.03898, allocations: 160.6 kB / 417.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.03901, allocations: 15.89 kB / 417.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.03919, allocations: 169.6 kB / 417.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.0392, allocations: 11.98 kB / 417.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0392, allocations: 0 / 417.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.0392, allocations: 0 / 417.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.03932, allocations: 149.1 kB / 417.7 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03932, allocations: 0 / 417.7 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.03936, allocations: 23.92 kB / 417.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.03936, allocations: 3.938 kB / 417.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.03937, allocations: 8 kB / 417.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.03937, allocations: 3.938 kB / 417.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.03937, allocations: 0 / 417.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.0395, allocations: 255.8 kB / 418 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.03951, allocations: 11.95 kB / 418 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.03952, allocations: 4 kB / 418 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.03955, allocations: 3.938 kB / 418 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.03958, allocations: 15.97 kB / 418 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.03959, allocations: 4 kB / 418 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.03962, allocations: 127.1 kB / 418.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03962, allocations: 0 / 418.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009228/0.04054, allocations: 374.9 kB / 418.5 MB, free: 10.16 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.01002/0.05056, allocations: 3.647 MB / 422.2 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.05071, allocations: 71.59 kB / 422.2 MB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.05071, allocations: 3.938 kB / 422.2 MB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.05078, allocations: 43.67 kB / 422.3 MB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.05106, allocations: 20.05 kB / 422.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.05184, allocations: 254.1 kB / 422.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.05188, allocations: 67.28 kB / 422.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003782/0.05226, allocations: 43.83 kB / 422.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.05235, allocations: 98.12 kB / 422.8 MB, free: 5.848 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.05235, allocations: 4 kB / 422.8 MB, free: 5.844 MB / 394.7 MB Notification: Performance of Templates: time 0.01673/0.06908, allocations: 18.55 MB / 441.3 MB, free: 3.27 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=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: 3.9262498184107244]