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.0009221/0.0009221, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.000925/0.000925, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.8995/0.8995, allocations: 177 MB / 205.2 MB, free: 5.062 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.2386/0.2386, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 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.513e-06/1.513e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.199e-05, allocations: 7.703 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.00883/0.008852, allocations: 8.516 MB / 334.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009412/0.01826, allocations: 12.82 MB / 347.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.0183, allocations: 0 / 347.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.01846, allocations: 31.81 kB / 347.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.0219, allocations: 2.209 MB / 349.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.407e-06/0.0219, allocations: 4 kB / 349.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.02197, allocations: 51.61 kB / 349.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.02201, allocations: 0 / 349.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.02212, allocations: 47.77 kB / 349.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.02214, allocations: 15.94 kB / 349.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.02215, allocations: 0 / 349.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.02719, allocations: 5.89 MB / 355.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.02721, allocations: 7.938 kB / 355.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.02722, allocations: 11.94 kB / 355.5 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.03267, allocations: 5.076 MB / 360.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.03268, allocations: 0 / 360.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03268, allocations: 0 / 360.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.03268, allocations: 0 / 360.6 MB, free: 4.375 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.001441/0.03412, allocations: 0.5406 MB / 361.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.03416, allocations: 8.031 kB / 361.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.806e-05/0.03425, allocations: 31.88 kB / 361.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.03432, allocations: 109.2 kB / 361.3 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.03433, allocations: 3.984 kB / 361.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.03434, allocations: 4 kB / 361.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.0345, allocations: 101.1 kB / 361.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.03451, allocations: 0 / 361.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.03452, allocations: 8 kB / 361.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.03452, allocations: 7.938 kB / 361.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.0346, allocations: 51.89 kB / 361.4 MB, free: 3.453 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.0002917/0.03489, allocations: 225.8 kB / 361.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.03504, allocations: 61.09 kB / 361.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.03506, allocations: 16.86 kB / 361.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004048/0.03911, allocations: 3.124 MB / 364.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.03913, allocations: 38.5 kB / 364.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.03913, allocations: 0 / 364.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002336/0.03936, allocations: 109.3 kB / 365 MB, free: 15.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.03939, allocations: 51.41 kB / 365 MB, free: 15.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.0395, allocations: 106.7 kB / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.03951, allocations: 25.7 kB / 365.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.03954, allocations: 96.03 kB / 365.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.03956, allocations: 19.86 kB / 365.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.03959, allocations: 25.69 kB / 365.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.03965, allocations: 314.8 kB / 365.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.03967, allocations: 12.73 kB / 365.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.03969, allocations: 25.7 kB / 365.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.03974, allocations: 39.23 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.03974, allocations: 0 / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.155e-05/0.03982, allocations: 73.61 kB / 365.8 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.03983, allocations: 7.938 kB / 365.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.03984, allocations: 0 / 365.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.03985, allocations: 4 kB / 365.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.0399, allocations: 15.92 kB / 365.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.03991, allocations: 4 kB / 365.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.03993, allocations: 11.89 kB / 365.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.03994, allocations: 4.188 kB / 365.8 MB, free: 14.95 MB / 346.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.259e-05/0.03999, allocations: 117.9 kB / 365.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.04002, allocations: 15.86 kB / 365.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.04019, allocations: 197.4 kB / 366.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.04019, allocations: 0 / 366.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.04019, allocations: 0 / 366.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.0402, allocations: 0 / 366.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.0403, allocations: 113.8 kB / 366.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.04031, allocations: 0 / 366.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.04034, allocations: 19.98 kB / 366.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.04034, allocations: 0 / 366.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.04035, allocations: 4 kB / 366.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.04035, allocations: 8.484 kB / 366.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.04035, allocations: 0 / 366.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.04048, allocations: 236.4 kB / 366.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.04049, allocations: 11.89 kB / 366.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.0405, allocations: 0 / 366.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.12e-05/0.04053, allocations: 11.94 kB / 366.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.04056, allocations: 11.98 kB / 366.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.04057, allocations: 7.984 kB / 366.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.163e-06/0.04057, allocations: 4.859 kB / 366.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04057, allocations: 0 / 366.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009715/0.04155, allocations: 378.9 kB / 366.9 MB, free: 13.78 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.006968/0.04851, allocations: 3.653 MB / 370.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.04861, allocations: 56.7 kB / 370.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.04861, allocations: 0 / 370.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.04866, allocations: 40.84 kB / 370.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.04881, allocations: 17.08 kB / 370.7 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.04938, allocations: 271.2 kB / 371 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.04941, allocations: 67.34 kB / 371 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.11e-05/0.0495, allocations: 47.88 kB / 371.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.04956, allocations: 71.36 kB / 371.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04956, allocations: 0 / 371.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of Templates: time 0.01572/0.06528, allocations: 18.51 MB / 389.7 MB, free: 6.988 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: 3.52419271459803]