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.001406/0.001406, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 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.001472/0.001472, allocations: 216.2 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2241/0.2241, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 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 0.002453/0.002453, allocations: 75.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2907, allocations: 66.09 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01216/0.3029, allocations: 8.051 MB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.3174, allocations: 11.48 MB / 0.5802 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.3175, allocations: 4 kB / 0.5802 GB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.3176, allocations: 35.81 kB / 0.5803 GB, free: 304 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.3229, allocations: 2.129 MB / 0.5824 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.71e-06/0.3229, allocations: 0 / 0.5824 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.323, allocations: 51.61 kB / 0.5824 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.3231, allocations: 4 kB / 0.5824 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3232, allocations: 39.78 kB / 0.5824 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.3233, allocations: 11.94 kB / 0.5825 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3233, allocations: 4 kB / 0.5825 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009965/0.3332, allocations: 5.875 MB / 0.5882 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3332, allocations: 3.938 kB / 0.5882 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3333, allocations: 19.92 kB / 0.5882 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.3466, allocations: 4.787 MB / 0.5929 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3466, allocations: 4 kB / 0.5929 GB, free: 3.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3466, allocations: 0 / 0.5929 GB, free: 3.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3467, allocations: 4 kB / 0.5929 GB, free: 3.348 MB / 430.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.002893/0.3495, allocations: 0.5579 MB / 0.5934 GB, free: 2.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3496, allocations: 12.03 kB / 0.5935 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3497, allocations: 8 kB / 0.5935 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3499, allocations: 113.2 kB / 0.5936 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3499, allocations: 0 / 0.5936 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3499, allocations: 8 kB / 0.5936 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3502, allocations: 113.6 kB / 0.5937 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3503, allocations: 3.938 kB / 0.5937 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3503, allocations: 7.984 kB / 0.5937 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3503, allocations: 4 kB / 0.5937 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.3506, allocations: 119.9 kB / 0.5938 GB, free: 2.344 MB / 430.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.0006454/0.3513, allocations: 300.2 kB / 0.5941 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3516, allocations: 74.52 kB / 0.5942 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3517, allocations: 32.84 kB / 0.5942 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003167/0.3549, allocations: 0.8624 MB / 0.595 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3549, allocations: 38.55 kB / 0.5951 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3549, allocations: 0 / 0.5951 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006373/0.3556, allocations: 141.5 kB / 0.5952 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3556, allocations: 55.41 kB / 0.5953 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.3557, allocations: 109.7 kB / 0.5954 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3557, allocations: 25.81 kB / 0.5954 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.3558, allocations: 99.97 kB / 0.5955 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3558, allocations: 19.84 kB / 0.5955 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3558, allocations: 21.72 kB / 0.5955 GB, free: 496 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.356, allocations: 322.8 kB / 0.5958 GB, free: 164 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.3561, allocations: 23.98 kB / 0.5959 GB, free: 140 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3562, allocations: 41.7 kB / 0.5959 GB, free: 92 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3564, allocations: 77.62 kB / 0.596 GB, free: 8 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3564, allocations: 0 / 0.596 GB, free: 8 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003061/0.3567, allocations: 93.66 kB / 0.5961 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3567, allocations: 9.969 kB / 0.5961 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3568, allocations: 0.5469 kB / 0.5961 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3568, allocations: 4 kB / 0.5961 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3569, allocations: 24.02 kB / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3569, allocations: 0 / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.3569, allocations: 15.88 kB / 0.5961 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.357, allocations: 4 kB / 0.5961 GB, free: 15.86 MB / 446.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 9.369e-05/0.3571, allocations: 121.7 kB / 0.5962 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3571, allocations: 0 / 0.5962 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.3576, allocations: 264.1 kB / 0.5965 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3576, allocations: 3.984 kB / 0.5965 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3576, allocations: 0 / 0.5965 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3576, allocations: 0 / 0.5965 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3578, allocations: 169.1 kB / 0.5967 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3578, allocations: 0 / 0.5967 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.851e-05/0.3579, allocations: 27.92 kB / 0.5967 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.358, allocations: 0 / 0.5967 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.358, allocations: 11.98 kB / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.358, allocations: 0 / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.358, allocations: 0 / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.3584, allocations: 259.2 kB / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.3584, allocations: 11.89 kB / 0.597 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3584, allocations: 4 kB / 0.597 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.3585, allocations: 4.188 kB / 0.597 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3585, allocations: 11.97 kB / 0.597 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3585, allocations: 7.984 kB / 0.597 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.3586, allocations: 87.28 kB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001892/0.3605, allocations: 370.9 kB / 0.5974 GB, free: 14.47 MB / 446.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.01259/0.3731, allocations: 3.566 MB / 0.6009 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.3735, allocations: 95.89 kB / 0.601 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3735, allocations: 0 / 0.601 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3736, allocations: 59.91 kB / 0.6011 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.374, allocations: 19.92 kB / 0.6011 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.3746, allocations: 258.4 kB / 0.6013 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.3747, allocations: 83.08 kB / 0.6014 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.3748, allocations: 59.48 kB / 0.6015 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.3748, allocations: 19.44 kB / 0.6015 GB, free: 10.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3748, allocations: 0 / 0.6015 GB, free: 10.26 MB / 446.1 MB Notification: Performance of Templates: time 0.02506/0.3999, allocations: 16.37 MB / 0.6175 GB, free: 9.863 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.5322098061442375]