Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 165.6 kB / 24.82 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2812/0.2812, allocations: 34.27 MB / 296.1 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.341e-05, allocations: 6.25 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009782/0.009806, allocations: 8.47 MB / 387 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.0196, allocations: 12.66 MB / 399.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.01964, allocations: 0 / 399.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.01981, allocations: 27.83 kB / 399.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.02352, allocations: 2.173 MB / 401.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.02352, allocations: 0 / 401.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.02359, allocations: 59.55 kB / 401.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.02363, allocations: 11.97 kB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.02374, allocations: 35.91 kB / 401.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.02377, allocations: 11.94 kB / 401.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.02378, allocations: 4 kB / 401.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/0.02981, allocations: 5.89 MB / 407.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.02982, allocations: 3.938 kB / 407.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.02985, allocations: 19.94 kB / 407.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.03724, allocations: 5.068 MB / 412.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.03724, allocations: 4 kB / 412.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03724, allocations: 0 / 412.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.03724, allocations: 4 kB / 412.9 MB, free: 15.83 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.001598/0.03884, allocations: 0.6537 MB / 413.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.03889, allocations: 8.031 kB / 413.6 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.03901, allocations: 31.81 kB / 413.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.03908, allocations: 112 kB / 413.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.03909, allocations: 0 / 413.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.03911, allocations: 8 kB / 413.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.0393, allocations: 98.33 kB / 413.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.0393, allocations: 0 / 413.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.03931, allocations: 4 kB / 413.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.03932, allocations: 3.938 kB / 413.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.0394, allocations: 55.94 kB / 413.9 MB, free: 14.79 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.0003501/0.03975, allocations: 320.1 kB / 414.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.03988, allocations: 63.02 kB / 414.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.03991, allocations: 27.67 kB / 414.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.04127, allocations: 0.8654 MB / 415.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.04129, allocations: 41.33 kB / 415.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.04129, allocations: 0 / 415.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002819/0.04158, allocations: 133.6 kB / 415.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.0416, allocations: 55.34 kB / 415.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.04167, allocations: 161.9 kB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.04168, allocations: 29.7 kB / 415.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.04173, allocations: 138.8 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.04175, allocations: 23.78 kB / 415.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.04178, allocations: 27.38 kB / 415.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.0419, allocations: 0.4923 MB / 416.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.04192, allocations: 8 kB / 416.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.04195, allocations: 35.36 kB / 416.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.04201, allocations: 51.36 kB / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.04201, allocations: 0 / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001143/0.04212, allocations: 89.5 kB / 416.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.04214, allocations: 4 kB / 416.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.04214, allocations: 0 / 416.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.04215, allocations: 4 kB / 416.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.04221, allocations: 27.95 kB / 416.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.04222, allocations: 0 / 416.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.04224, allocations: 7.938 kB / 416.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.04225, allocations: 0 / 416.5 MB, free: 12.06 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 7.045e-05/0.04232, allocations: 160.6 kB / 416.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.04235, allocations: 11.89 kB / 416.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.04256, allocations: 180 kB / 416.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.04257, allocations: 4 kB / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.04257, allocations: 0 / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.04257, allocations: 0 / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.04271, allocations: 153.1 kB / 417 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.04272, allocations: 7.938 kB / 417 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.04275, allocations: 15.98 kB / 417 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.04276, allocations: 0 / 417 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.04276, allocations: 4 kB / 417 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.04276, allocations: 7.938 kB / 417 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04276, allocations: 0 / 417 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.04292, allocations: 259.8 kB / 417.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.04293, allocations: 11.89 kB / 417.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.04294, allocations: 0 / 417.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.04297, allocations: 11.92 kB / 417.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.04301, allocations: 11.92 kB / 417.3 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.04301, allocations: 4 kB / 417.3 MB, free: 11.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.04305, allocations: 127.2 kB / 417.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.04305, allocations: 0 / 417.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001219/0.04427, allocations: 378.9 kB / 417.8 MB, free: 10.67 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.008143/0.05241, allocations: 3.649 MB / 421.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.05255, allocations: 71.53 kB / 421.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.05255, allocations: 0 / 421.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.05261, allocations: 46.31 kB / 421.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.05286, allocations: 23.92 kB / 421.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.05351, allocations: 266 kB / 421.8 MB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.05356, allocations: 67.34 kB / 421.9 MB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.05367, allocations: 43.89 kB / 421.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.05375, allocations: 86.19 kB / 422 MB, free: 6.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05375, allocations: 0 / 422 MB, free: 6.359 MB / 394.7 MB Notification: Performance of Templates: time 0.01943/0.07318, allocations: 18.58 MB / 440.6 MB, free: 3.758 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.258131824899465]