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.001885/0.001885, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002198/0.002198, allocations: 205.3 kB / 24.49 MB, free: 3.965 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2298/0.2298, allocations: 46.95 MB / 361.6 MB, free: 4.074 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.002861/0.002861, allocations: 67.89 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3454, allocations: 66.03 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01278/0.3581, allocations: 8.063 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.3726, allocations: 11.47 MB / 0.5809 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3727, allocations: 3.938 kB / 0.5809 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.3729, allocations: 31.77 kB / 0.5809 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006674/0.3795, allocations: 2.141 MB / 0.583 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.032e-05/0.3795, allocations: 0 / 0.583 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3797, allocations: 55.59 kB / 0.5831 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.3797, allocations: 7.984 kB / 0.5831 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3798, allocations: 23.86 kB / 0.5831 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.3799, allocations: 27.86 kB / 0.5831 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3799, allocations: 0 / 0.5831 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.3903, allocations: 6.004 MB / 0.589 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3903, allocations: 7.984 kB / 0.589 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3903, allocations: 15.88 kB / 0.589 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.4039, allocations: 4.791 MB / 0.5937 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4039, allocations: 0 / 0.5937 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4039, allocations: 0 / 0.5937 GB, free: 3.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4039, allocations: 0 / 0.5937 GB, free: 3.496 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.4068, allocations: 0.5657 MB / 0.5942 GB, free: 2.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4069, allocations: 8.031 kB / 0.5942 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.407, allocations: 11.98 kB / 0.5942 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.4071, allocations: 105.2 kB / 0.5943 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.4071, allocations: 11.94 kB / 0.5944 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4071, allocations: 0 / 0.5944 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.4075, allocations: 113.6 kB / 0.5945 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4075, allocations: 7.922 kB / 0.5945 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4075, allocations: 0 / 0.5945 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4075, allocations: 4 kB / 0.5945 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.4079, allocations: 131.9 kB / 0.5946 GB, free: 2.48 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.0005627/0.4084, allocations: 296.2 kB / 0.5949 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4087, allocations: 70.53 kB / 0.595 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4088, allocations: 32.83 kB / 0.595 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00323/0.4121, allocations: 0.8663 MB / 0.5958 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4121, allocations: 30.56 kB / 0.5959 GB, free: 1.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 4.017e-06/0.4121, allocations: 4 kB / 0.5959 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006433/0.4127, allocations: 149.5 kB / 0.596 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.4128, allocations: 51.41 kB / 0.5961 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.4129, allocations: 97.81 kB / 0.5961 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4129, allocations: 33.69 kB / 0.5962 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.4129, allocations: 92.03 kB / 0.5963 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.413, allocations: 19.86 kB / 0.5963 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.413, allocations: 25.7 kB / 0.5963 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4131, allocations: 314.8 kB / 0.5966 GB, free: 324 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4132, allocations: 28.08 kB / 0.5966 GB, free: 296 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4133, allocations: 41.64 kB / 0.5967 GB, free: 248 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4136, allocations: 77.56 kB / 0.5968 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4136, allocations: 0 / 0.5968 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002918/0.4139, allocations: 105.6 kB / 0.5969 GB, free: 52 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4139, allocations: 4 kB / 0.5969 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4139, allocations: 0 / 0.5969 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4139, allocations: 4 kB / 0.5969 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.414, allocations: 19.92 kB / 0.5969 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.414, allocations: 0 / 0.5969 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.4141, allocations: 15.89 kB / 0.5969 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4141, allocations: 8 kB / 0.5969 GB, free: 0 / 430.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 0.0001089/0.4142, allocations: 117.8 kB / 0.597 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.4142, allocations: 4.031 kB / 0.597 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.4147, allocations: 253.4 kB / 0.5973 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4147, allocations: 0 / 0.5973 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4147, allocations: 0 / 0.5973 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.4148, allocations: 15.83 kB / 0.5973 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4148, allocations: 4 kB / 0.5973 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.4148, allocations: 11.98 kB / 0.5973 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4149, allocations: 11.92 kB / 0.5973 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003702/0.4153, allocations: 232.9 kB / 0.5975 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004001/0.4157, allocations: 333 kB / 0.5978 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001243/0.4158, allocations: 56.09 kB / 0.5979 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.4158, allocations: 87.27 kB / 0.598 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.4158, allocations: 0 / 0.598 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01844/0.4343, allocations: 4.692 MB / 0.6026 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006883/0.435, allocations: 0.6667 MB / 0.6032 GB, free: 9.438 MB / 446.1 MB Notification: Performance of Templates: time 0.02791/0.4629, allocations: 18.43 MB / 0.6212 GB, free: 6.988 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/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.424404345998482]