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.001767/0.001767, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002049/0.002049, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.2407/0.2407, allocations: 46.95 MB / 360.9 MB, free: 4.055 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 0.002112/0.002112, allocations: 72.12 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3144, allocations: 66.02 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01428/0.3286, allocations: 8.051 MB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.3458, allocations: 11.47 MB / 0.5801 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.3458, allocations: 0 / 0.5801 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.3461, allocations: 35.83 kB / 0.5802 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.353, allocations: 2.137 MB / 0.5822 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.748e-06/0.3531, allocations: 4 kB / 0.5823 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3532, allocations: 55.59 kB / 0.5823 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3533, allocations: 4 kB / 0.5823 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.3534, allocations: 27.86 kB / 0.5823 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.3535, allocations: 23.84 kB / 0.5824 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3535, allocations: 4 kB / 0.5824 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.3641, allocations: 6 MB / 0.5882 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3642, allocations: 7.984 kB / 0.5882 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.3642, allocations: 15.94 kB / 0.5882 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3761, allocations: 4.791 MB / 0.5929 GB, free: 3.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3761, allocations: 0 / 0.5929 GB, free: 3.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3761, allocations: 4 kB / 0.5929 GB, free: 3.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3761, allocations: 0 / 0.5929 GB, free: 3.465 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.002948/0.3791, allocations: 0.558 MB / 0.5935 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3791, allocations: 15.91 kB / 0.5935 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3792, allocations: 11.98 kB / 0.5935 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3794, allocations: 109.2 kB / 0.5936 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.3794, allocations: 7.984 kB / 0.5936 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3794, allocations: 8 kB / 0.5936 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3798, allocations: 117.5 kB / 0.5937 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3798, allocations: 3.938 kB / 0.5937 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3798, allocations: 4 kB / 0.5937 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3798, allocations: 4 kB / 0.5937 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.3802, allocations: 123.9 kB / 0.5939 GB, free: 2.445 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.0006275/0.3808, allocations: 292.3 kB / 0.5941 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3812, allocations: 74.58 kB / 0.5942 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3813, allocations: 36.77 kB / 0.5942 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003518/0.3848, allocations: 0.8662 MB / 0.5951 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3848, allocations: 30.56 kB / 0.5951 GB, free: 1.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3848, allocations: 0 / 0.5951 GB, free: 1.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006823/0.3855, allocations: 153.5 kB / 0.5953 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3856, allocations: 51.41 kB / 0.5953 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.3857, allocations: 101.8 kB / 0.5954 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3857, allocations: 25.7 kB / 0.5954 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3857, allocations: 96.02 kB / 0.5955 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3858, allocations: 19.86 kB / 0.5955 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3858, allocations: 29.7 kB / 0.5956 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.386, allocations: 314.8 kB / 0.5959 GB, free: 280 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3861, allocations: 23.98 kB / 0.5959 GB, free: 256 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3862, allocations: 45.69 kB / 0.5959 GB, free: 204 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.3864, allocations: 65.69 kB / 0.596 GB, free: 132 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3864, allocations: 0 / 0.596 GB, free: 132 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003062/0.3867, allocations: 109.5 kB / 0.5961 GB, free: 16 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3867, allocations: 4 kB / 0.5961 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.3868, allocations: 0 / 0.5961 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3868, allocations: 8.031 kB / 0.5961 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3869, allocations: 15.98 kB / 0.5961 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3869, allocations: 3.938 kB / 0.5961 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.387, allocations: 15.89 kB / 0.5962 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.387, allocations: 4 kB / 0.5962 GB, free: 15.96 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.582e-05/0.3871, allocations: 121.8 kB / 0.5963 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3872, allocations: 0 / 0.5963 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.3877, allocations: 257.4 kB / 0.5965 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3877, allocations: 4 kB / 0.5965 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3877, allocations: 0 / 0.5965 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3877, allocations: 0 / 0.5965 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.3879, allocations: 173.1 kB / 0.5967 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3879, allocations: 0 / 0.5967 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.388, allocations: 23.92 kB / 0.5967 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.388, allocations: 4.188 kB / 0.5967 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.388, allocations: 8 kB / 0.5967 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.388, allocations: 0 / 0.5967 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.388, allocations: 0 / 0.5967 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.3884, allocations: 269.4 kB / 0.597 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.3885, allocations: 11.88 kB / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3885, allocations: 4 kB / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.3885, allocations: 0 / 0.597 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3886, allocations: 11.98 kB / 0.597 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3886, allocations: 15.92 kB / 0.597 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.675e-05/0.3887, allocations: 79.28 kB / 0.5971 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3887, allocations: 0 / 0.5971 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.3909, allocations: 375 kB / 0.5975 GB, free: 14.58 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.01276/0.4036, allocations: 3.563 MB / 0.6009 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.404, allocations: 91.89 kB / 0.601 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.404, allocations: 0 / 0.601 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4042, allocations: 55.97 kB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4045, allocations: 30.88 kB / 0.6011 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.4051, allocations: 261 kB / 0.6014 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.4052, allocations: 83.08 kB / 0.6014 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.4053, allocations: 51.61 kB / 0.6015 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.4054, allocations: 15.44 kB / 0.6015 GB, free: 10.38 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4054, allocations: 0 / 0.6015 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Templates: time 0.02635/0.4317, allocations: 16.45 MB / 0.6176 GB, free: 9.91 MB / 462.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.571194965858012]