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.001551/0.001551, allocations: 71.75 kB / 21.24 MB, free: 396 kB / 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.001536/0.001536, allocations: 164.2 kB / 24.5 MB, free: 3.441 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.508/1.508, allocations: 177.2 MB / 204.9 MB, free: 9.074 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.2207/0.2207, allocations: 34.27 MB / 295.5 MB, free: 14.62 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.002143/0.002143, allocations: 67.89 kB / 443.1 MB, free: 6.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.008996/0.3324, allocations: 8.07 MB / 0.5051 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.3426, allocations: 11.47 MB / 0.5163 GB, free: 17.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.3427, allocations: 0.9375 kB / 0.5163 GB, free: 17.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3429, allocations: 34.03 kB / 0.5163 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.349, allocations: 2.135 MB / 0.5184 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.169e-06/0.349, allocations: 0 / 0.5184 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.3491, allocations: 52.17 kB / 0.5185 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.3492, allocations: 8.031 kB / 0.5185 GB, free: 16.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3493, allocations: 29.28 kB / 0.5185 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.3493, allocations: 14.97 kB / 0.5185 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.3493, allocations: 0 / 0.5185 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.36, allocations: 5.88 MB / 0.5242 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.36, allocations: 1.609 kB / 0.5243 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3601, allocations: 22.42 kB / 0.5243 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.3755, allocations: 4.792 MB / 0.529 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3755, allocations: 0 / 0.529 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3755, allocations: 0 / 0.529 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3755, allocations: 1.375 kB / 0.529 GB, free: 15.31 MB / 446.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.005875/0.3814, allocations: 0.5594 MB / 0.5295 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3814, allocations: 9.75 kB / 0.5295 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3816, allocations: 11.47 kB / 0.5295 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.3817, allocations: 110.1 kB / 0.5296 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3817, allocations: 2.969 kB / 0.5296 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3817, allocations: 10.53 kB / 0.5296 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.3821, allocations: 111.8 kB / 0.5297 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3821, allocations: 7.875 kB / 0.5298 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3821, allocations: 1.438 kB / 0.5298 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3821, allocations: 1.375 kB / 0.5298 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.3824, allocations: 127.5 kB / 0.5299 GB, free: 14.64 MB / 446.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.0005108/0.383, allocations: 292.3 kB / 0.5302 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3832, allocations: 77.52 kB / 0.5302 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3833, allocations: 32.77 kB / 0.5303 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003244/0.3866, allocations: 0.8704 MB / 0.5311 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3866, allocations: 32.94 kB / 0.5311 GB, free: 14.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3866, allocations: 0 / 0.5311 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006733/0.3873, allocations: 147.6 kB / 0.5313 GB, free: 14.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.3873, allocations: 53.34 kB / 0.5313 GB, free: 13.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.3874, allocations: 103.4 kB / 0.5314 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3874, allocations: 27.14 kB / 0.5315 GB, free: 13.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.3874, allocations: 91 kB / 0.5315 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3874, allocations: 24.02 kB / 0.5316 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3875, allocations: 28.88 kB / 0.5316 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.3875, allocations: 317.4 kB / 0.5319 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.935e-05/0.3876, allocations: 26.27 kB / 0.5319 GB, free: 13.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3877, allocations: 48.41 kB / 0.532 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3879, allocations: 62.09 kB / 0.532 GB, free: 13.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3879, allocations: 0 / 0.532 GB, free: 13.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000301/0.3882, allocations: 105.4 kB / 0.5321 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3882, allocations: 5.719 kB / 0.5321 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3882, allocations: 2.156 kB / 0.5321 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3883, allocations: 4.031 kB / 0.5321 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3884, allocations: 22.28 kB / 0.5322 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3884, allocations: 0.6094 kB / 0.5322 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.3884, allocations: 17.56 kB / 0.5322 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3884, allocations: 3.453 kB / 0.5322 GB, free: 13.25 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 8.394e-05/0.3885, allocations: 125.3 kB / 0.5323 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.3886, allocations: 1.406 kB / 0.5323 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.3891, allocations: 258.9 kB / 0.5325 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3891, allocations: 8.547 kB / 0.5326 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3891, allocations: 0 / 0.5326 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3891, allocations: 0.6094 kB / 0.5326 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3893, allocations: 167.1 kB / 0.5327 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3893, allocations: 192 / 0.5327 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3894, allocations: 24.33 kB / 0.5327 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3894, allocations: 4 kB / 0.5327 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3894, allocations: 10.7 kB / 0.5328 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3894, allocations: 1.156 kB / 0.5328 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3894, allocations: 0.6562 kB / 0.5328 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3898, allocations: 257.9 kB / 0.533 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.3898, allocations: 11.45 kB / 0.533 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3898, allocations: 2.109 kB / 0.533 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/0.3899, allocations: 2.344 kB / 0.533 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3899, allocations: 15.11 kB / 0.533 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3899, allocations: 6.969 kB / 0.533 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.3899, allocations: 79.5 kB / 0.5331 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3899, allocations: 0 / 0.5331 GB, free: 12.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005485/0.3954, allocations: 376.1 kB / 0.5335 GB, free: 12.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.02011/0.4155, allocations: 3.573 MB / 0.537 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.416, allocations: 92.8 kB / 0.537 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.416, allocations: 0 / 0.537 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4161, allocations: 60.91 kB / 0.5371 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4164, allocations: 24.83 kB / 0.5371 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.4169, allocations: 261.2 kB / 0.5374 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.417, allocations: 82.89 kB / 0.5375 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.4171, allocations: 53.86 kB / 0.5375 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4171, allocations: 20.36 kB / 0.5375 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4171, allocations: 0 / 0.5375 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Templates: time 0.02321/0.4403, allocations: 16.32 MB / 0.5535 GB, free: 11.87 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/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.447756304987706]