Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0007859/0.0007859, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001009/0.001009, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9775/0.9775, 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.2904/0.2904, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.679e-05, allocations: 2.312 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009217/0.009254, allocations: 8.516 MB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008078/0.01733, allocations: 11.06 MB / 398.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.01736, allocations: 0 / 398.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.01755, allocations: 31.81 kB / 398.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.0203, allocations: 1.896 MB / 400.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.137e-06/0.0203, allocations: 0 / 400.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.02038, allocations: 43.62 kB / 400.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.02042, allocations: 15.98 kB / 400.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.02054, allocations: 39.83 kB / 400.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.02057, allocations: 11.94 kB / 400.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.02058, allocations: 0 / 400.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006106/0.02669, allocations: 6.599 MB / 407 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.0267, allocations: 0 / 407 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.02673, allocations: 11.94 kB / 407 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007213/0.03394, allocations: 5.337 MB / 412.3 MB, free: 468 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.03395, allocations: 0 / 412.3 MB, free: 468 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.03395, allocations: 4 kB / 412.3 MB, free: 464 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.03395, allocations: 0 / 412.3 MB, free: 464 kB / 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.001309/0.03526, allocations: 0.6031 MB / 412.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.0353, allocations: 12.03 kB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.03542, allocations: 27.88 kB / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.0355, allocations: 108 kB / 413.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.03551, allocations: 8 kB / 413.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.03552, allocations: 0 / 413.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.03562, allocations: 53.69 kB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.03563, allocations: 0 / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.03564, allocations: 4 kB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.03565, allocations: 7.922 kB / 413.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.0357, allocations: 39.92 kB / 413.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.03605, allocations: 303.7 kB / 413.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.194e-05/0.03611, allocations: 43.05 kB / 413.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.03614, allocations: 23.75 kB / 413.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.03755, allocations: 0.8616 MB / 414.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.03757, allocations: 37.39 kB / 414.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.03757, allocations: 0 / 414.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002026/0.03777, allocations: 105.5 kB / 414.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.0378, allocations: 59.41 kB / 414.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.03787, allocations: 153.9 kB / 414.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.03788, allocations: 25.7 kB / 414.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.03793, allocations: 138.8 kB / 414.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.03794, allocations: 27.75 kB / 414.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.03798, allocations: 31.36 kB / 415 MB, free: 13.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.03808, allocations: 492.1 kB / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.0381, allocations: 19.98 kB / 415.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.03813, allocations: 39.38 kB / 415.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.797e-05/0.03819, allocations: 55.3 kB / 415.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.03819, allocations: 4 kB / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000105/0.0383, allocations: 97.45 kB / 415.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.03831, allocations: 4 kB / 415.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.03832, allocations: 0 / 415.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.03833, allocations: 0 / 415.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.03837, allocations: 15.92 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.03838, allocations: 4 kB / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.0384, allocations: 4.031 kB / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.03841, allocations: 4 kB / 415.7 MB, free: 12.86 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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 6.32e-05/0.03847, allocations: 160.5 kB / 415.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.0385, allocations: 11.89 kB / 415.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.03865, allocations: 130 kB / 416 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/0.03873, allocations: 93.62 kB / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.03873, allocations: 0 / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.03873, allocations: 0 / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.03902, allocations: 409.2 kB / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.03902, allocations: 0 / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.03906, allocations: 15.98 kB / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.03906, allocations: 4 kB / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.03907, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.03907, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.03907, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.03921, allocations: 270.6 kB / 416.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.03922, allocations: 11.89 kB / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.03923, allocations: 8 kB / 416.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.03926, allocations: 256 / 416.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.03928, allocations: 11.98 kB / 416.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.03929, allocations: 4 kB / 416.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.03932, allocations: 127.2 kB / 416.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03932, allocations: 0 / 416.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008962/0.04021, allocations: 366.9 kB / 417.3 MB, free: 11.18 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.008237/0.04845, allocations: 4.139 MB / 421.4 MB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.04861, allocations: 94.77 kB / 421.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.04861, allocations: 4.062 kB / 421.5 MB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.04865, allocations: 51.81 kB / 421.6 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.04892, allocations: 40.08 kB / 421.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.04959, allocations: 220.3 kB / 421.8 MB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.04963, allocations: 63.34 kB / 421.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.04966, allocations: 11.94 kB / 421.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.04969, allocations: 20.5 kB / 421.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0497, allocations: 4 kB / 421.9 MB, free: 6.461 MB / 394.7 MB Notification: Performance of Templates: time 0.01633/0.06603, allocations: 18.53 MB / 440.4 MB, free: 3.938 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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.169735461939126]