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.001448/0.001448, allocations: 107 kB / 19.8 MB, free: 2.5 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.001525/0.001525, allocations: 212.6 kB / 23 MB, free: 5.578 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.51/1.51, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2347/0.2347, allocations: 46.91 MB / 359.4 MB, free: 4.84 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_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 0.002389/0.002389, allocations: 75.88 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3239, allocations: 65.99 MB / 0.5591 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01297/0.3369, allocations: 8.474 MB / 0.5673 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3503, allocations: 11.23 MB / 0.5783 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.3504, allocations: 0 / 0.5783 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3506, allocations: 51.73 kB / 0.5784 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.3565, allocations: 1.83 MB / 0.5801 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.033e-05/0.3565, allocations: 0 / 0.5801 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3566, allocations: 47.67 kB / 0.5802 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.3567, allocations: 4 kB / 0.5802 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3568, allocations: 35.84 kB / 0.5802 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.3569, allocations: 15.88 kB / 0.5802 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3569, allocations: 4 kB / 0.5802 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.3679, allocations: 6.69 MB / 0.5868 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.3679, allocations: 4 kB / 0.5868 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.368, allocations: 19.88 kB / 0.5868 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.3806, allocations: 4.635 MB / 0.5913 GB, free: 4.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3806, allocations: 0 / 0.5913 GB, free: 4.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3806, allocations: 0 / 0.5913 GB, free: 4.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3806, allocations: 4 kB / 0.5913 GB, free: 4.035 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.002863/0.3835, allocations: 0.5777 MB / 0.5919 GB, free: 3.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3835, allocations: 8.031 kB / 0.5919 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3837, allocations: 15.98 kB / 0.5919 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3838, allocations: 174.9 kB / 0.5921 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3839, allocations: 0 / 0.5921 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3839, allocations: 4 kB / 0.5921 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3841, allocations: 81.61 kB / 0.5922 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3841, allocations: 3.938 kB / 0.5922 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3841, allocations: 4 kB / 0.5922 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3841, allocations: 11.98 kB / 0.5922 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3842, allocations: 67.97 kB / 0.5922 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3848, allocations: 324.7 kB / 0.5926 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.3849, allocations: 34.58 kB / 0.5926 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.3849, allocations: 24.91 kB / 0.5926 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.3887, allocations: 1.842 MB / 0.5944 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3887, allocations: 34.5 kB / 0.5944 GB, free: 428 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3887, allocations: 4 kB / 0.5945 GB, free: 424 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000304/0.389, allocations: 113.7 kB / 0.5946 GB, free: 304 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3891, allocations: 55.69 kB / 0.5946 GB, free: 236 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.3892, allocations: 97.84 kB / 0.5947 GB, free: 128 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3892, allocations: 25.7 kB / 0.5947 GB, free: 96 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.3893, allocations: 104.1 kB / 0.5948 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.3893, allocations: 27.75 kB / 0.5949 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.3894, allocations: 25.7 kB / 0.5949 GB, free: 15.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3895, allocations: 314.8 kB / 0.5952 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.3895, allocations: 27.98 kB / 0.5952 GB, free: 15.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.3896, allocations: 37.66 kB / 0.5952 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3897, allocations: 61.7 kB / 0.5953 GB, free: 15.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3897, allocations: 0 / 0.5953 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.3899, allocations: 93.58 kB / 0.5954 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3899, allocations: 8 kB / 0.5954 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3899, allocations: 0 / 0.5954 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3899, allocations: 4.031 kB / 0.5954 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.39, allocations: 11.98 kB / 0.5954 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.39, allocations: 3.938 kB / 0.5954 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.39, allocations: 4 kB / 0.5954 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.39, allocations: 4 kB / 0.5954 GB, free: 15.34 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 (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 8.93e-05/0.3901, allocations: 113.8 kB / 0.5955 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.3902, allocations: 7.953 kB / 0.5955 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.3905, allocations: 153.7 kB / 0.5957 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001587/0.3906, allocations: 113.6 kB / 0.5958 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3906, allocations: 0 / 0.5958 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3906, allocations: 0 / 0.5958 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.3912, allocations: 435.7 kB / 0.5962 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3912, allocations: 0 / 0.5962 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.3913, allocations: 16 kB / 0.5962 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3913, allocations: 4 kB / 0.5962 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3913, allocations: 3.938 kB / 0.5962 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3913, allocations: 0 / 0.5962 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3913, allocations: 7.938 kB / 0.5962 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3916, allocations: 223.7 kB / 0.5965 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.3916, allocations: 89 kB / 0.5965 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3917, allocations: 4.281 kB / 0.5965 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.3917, allocations: 11.94 kB / 0.5966 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.3917, allocations: 7.984 kB / 0.5966 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3918, allocations: 4 kB / 0.5966 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.817e-05/0.3918, allocations: 83.28 kB / 0.5966 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3918, allocations: 0 / 0.5966 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001986/0.3938, allocations: 355 kB / 0.597 GB, free: 13.63 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: 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.01322/0.407, allocations: 3.718 MB / 0.6006 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.4073, allocations: 101.7 kB / 0.6007 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4073, allocations: 0 / 0.6007 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.4074, allocations: 43.92 kB / 0.6008 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.408, allocations: 52.25 kB / 0.6008 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.4086, allocations: 220.9 kB / 0.601 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.409, allocations: 0.6924 MB / 0.6017 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.409, allocations: 23.66 kB / 0.6017 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.4091, allocations: 15.44 kB / 0.6017 GB, free: 8.695 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4091, allocations: 0 / 0.6017 GB, free: 8.695 MB / 446.1 MB Notification: Performance of Templates: time 0.03151/0.4406, allocations: 18.2 MB / 0.6195 GB, free: 6.473 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.540323290042579]