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.001339/0.001339, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001381/0.001381, allocations: 167.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.57/1.57, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.2159/0.2159, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.313e-06/1.313e-06, allocations: 3.938 kB / 442.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.394e-05, allocations: 6.219 kB / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.2162/0.2162, allocations: 8.049 MB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.2284, allocations: 11.44 MB / 462.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.2284, allocations: 1.281 kB / 462.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.2286, allocations: 34.81 kB / 462.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006402/0.2351, allocations: 2.165 MB / 464.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.931e-06/0.2351, allocations: 0 / 464.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2352, allocations: 60.62 kB / 464.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.2352, allocations: 2.891 kB / 464.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2354, allocations: 40.75 kB / 464.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.2354, allocations: 15.31 kB / 464.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2354, allocations: 0 / 464.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.2464, allocations: 5.881 MB / 470.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.2464, allocations: 12.98 kB / 470.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.2464, allocations: 9.781 kB / 470.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.2599, allocations: 5.078 MB / 475.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2599, allocations: 0 / 475.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2599, allocations: 0 / 475.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2599, allocations: 0 / 475.5 MB, free: 4.895 MB / 366.1 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.006581/0.2665, allocations: 0.5567 MB / 476 MB, free: 4.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2665, allocations: 12.75 kB / 476 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2667, allocations: 18.09 kB / 476 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.2668, allocations: 103.2 kB / 476.1 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2668, allocations: 7.688 kB / 476.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2668, allocations: 7.031 kB / 476.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.2671, allocations: 112.2 kB / 476.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2671, allocations: 0 / 476.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2671, allocations: 4 kB / 476.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2672, allocations: 1.75 kB / 476.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.2675, allocations: 126.4 kB / 476.4 MB, free: 4.145 MB / 366.1 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.0005039/0.268, allocations: 291.5 kB / 476.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.2683, allocations: 74.11 kB / 476.8 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2684, allocations: 33.72 kB / 476.8 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002844/0.2712, allocations: 0.8746 MB / 477.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2712, allocations: 34.56 kB / 477.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2713, allocations: 0 / 477.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006253/0.2719, allocations: 149.6 kB / 477.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2719, allocations: 55.41 kB / 477.9 MB, free: 2.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.272, allocations: 101.8 kB / 478 MB, free: 2.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.272, allocations: 25.7 kB / 478 MB, free: 2.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.272, allocations: 98.42 kB / 478.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.272, allocations: 15.8 kB / 478.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2721, allocations: 25.72 kB / 478.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.2721, allocations: 318.8 kB / 478.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.2722, allocations: 23.98 kB / 478.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.2723, allocations: 45.69 kB / 478.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2725, allocations: 58.41 kB / 478.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2725, allocations: 0 / 478.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002749/0.2728, allocations: 121.4 kB / 478.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2728, allocations: 4 kB / 478.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2728, allocations: 4.031 kB / 478.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2728, allocations: 0 / 478.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2729, allocations: 23.98 kB / 478.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2729, allocations: 7.266 kB / 478.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.273, allocations: 4 kB / 478.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.273, allocations: 4 kB / 478.8 MB, free: 2.043 MB / 366.1 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.65e-05/0.273, allocations: 114.4 kB / 478.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2731, allocations: 11.89 kB / 478.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.2735, allocations: 262 kB / 479.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2735, allocations: 7.984 kB / 479.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2735, allocations: 0 / 479.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2735, allocations: 0 / 479.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2737, allocations: 170.6 kB / 479.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2737, allocations: 0 / 479.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.2738, allocations: 31.92 kB / 479.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2738, allocations: 3.938 kB / 479.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2738, allocations: 4 kB / 479.3 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2738, allocations: 0 / 479.3 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2738, allocations: 0 / 479.3 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.2741, allocations: 247.3 kB / 479.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.2741, allocations: 11.95 kB / 479.6 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2741, allocations: 3.938 kB / 479.6 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.2742, allocations: 14.55 kB / 479.6 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.2742, allocations: 11.98 kB / 479.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2742, allocations: 4 kB / 479.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.832e-05/0.2742, allocations: 79.27 kB / 479.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2742, allocations: 4 kB / 479.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003557/0.2778, allocations: 374.9 kB / 480.1 MB, free: 0.6523 MB / 366.1 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.01366/0.2915, allocations: 3.63 MB / 483.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.2919, allocations: 91.89 kB / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2919, allocations: 0 / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.292, allocations: 55.92 kB / 483.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2924, allocations: 27.16 kB / 483.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.293, allocations: 238.3 kB / 484.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.293, allocations: 79.33 kB / 484.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2932, allocations: 47.83 kB / 484.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.2932, allocations: 20.5 kB / 484.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2932, allocations: 0 / 484.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02807/0.3213, allocations: 16.42 MB / 0.4889 GB, free: 12 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.400115549564362]