Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001311/0.001311, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 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.001408/0.001408, allocations: 220.4 kB / 25.14 MB, free: 3.582 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.402/1.402, allocations: 230.2 MB / 258.5 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2178/0.2178, allocations: 46.94 MB / 361.8 MB, free: 4.5 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 79.86 kB / 0.4975 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3559, allocations: 66.04 MB / 0.562 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01248/0.3683, allocations: 8.432 MB / 0.5702 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.3839, allocations: 13 MB / 0.5829 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.3839, allocations: 0 / 0.5829 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3842, allocations: 39.8 kB / 0.583 GB, free: 15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.3906, allocations: 2.159 MB / 0.5851 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.011e-06/0.3906, allocations: 0 / 0.5851 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3907, allocations: 55.61 kB / 0.5851 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.3907, allocations: 8 kB / 0.5851 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3909, allocations: 31.84 kB / 0.5852 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.3909, allocations: 15.94 kB / 0.5852 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.3909, allocations: 0 / 0.5852 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.4012, allocations: 6.008 MB / 0.591 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.4012, allocations: 3.938 kB / 0.591 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.4012, allocations: 19.88 kB / 0.5911 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.4127, allocations: 4.783 MB / 0.5957 GB, free: 1.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4127, allocations: 4 kB / 0.5957 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4127, allocations: 0 / 0.5957 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4127, allocations: 0 / 0.5957 GB, free: 1.891 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.00299/0.4157, allocations: 0.5681 MB / 0.5963 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4157, allocations: 12.03 kB / 0.5963 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4158, allocations: 4 kB / 0.5963 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.416, allocations: 109.2 kB / 0.5964 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.416, allocations: 8 kB / 0.5964 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.416, allocations: 4 kB / 0.5964 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.4164, allocations: 125.5 kB / 0.5965 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4164, allocations: 3.938 kB / 0.5965 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4164, allocations: 3.938 kB / 0.5966 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4164, allocations: 0 / 0.5966 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.4168, allocations: 127.9 kB / 0.5967 GB, free: 0.8711 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.0006396/0.4174, allocations: 375.1 kB / 0.597 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.4177, allocations: 74.47 kB / 0.5971 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4178, allocations: 28.84 kB / 0.5971 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003243/0.421, allocations: 0.8624 MB / 0.598 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4211, allocations: 34.56 kB / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4211, allocations: 0 / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006765/0.4218, allocations: 145.6 kB / 0.5981 GB, free: 15.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4218, allocations: 51.41 kB / 0.5982 GB, free: 15.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.4219, allocations: 97.86 kB / 0.5983 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4219, allocations: 25.7 kB / 0.5983 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.422, allocations: 104 kB / 0.5984 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.422, allocations: 15.86 kB / 0.5984 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.422, allocations: 29.7 kB / 0.5985 GB, free: 14.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4222, allocations: 318.8 kB / 0.5988 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4223, allocations: 27.92 kB / 0.5988 GB, free: 14.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.4224, allocations: 41.69 kB / 0.5988 GB, free: 14.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.4226, allocations: 74.12 kB / 0.5989 GB, free: 14.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4226, allocations: 0 / 0.5989 GB, free: 14.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002961/0.4229, allocations: 101.6 kB / 0.599 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4229, allocations: 8 kB / 0.599 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4229, allocations: 0 / 0.599 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.423, allocations: 0 / 0.599 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4231, allocations: 28.02 kB / 0.599 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4231, allocations: 0 / 0.599 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.4231, allocations: 12.08 kB / 0.599 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4232, allocations: 0 / 0.599 GB, free: 14.3 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 0.0001072/0.4233, allocations: 121.7 kB / 0.5992 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.4233, allocations: 11.97 kB / 0.5992 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.4238, allocations: 257.4 kB / 0.5994 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4238, allocations: 0 / 0.5994 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4238, allocations: 0 / 0.5994 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.4238, allocations: 11.89 kB / 0.5994 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4239, allocations: 4 kB / 0.5994 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.4239, allocations: 7.922 kB / 0.5994 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.424, allocations: 15.98 kB / 0.5994 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003793/0.4244, allocations: 236.8 kB / 0.5997 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004618/0.4248, allocations: 328 kB / 0.6 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001321/0.425, allocations: 55.95 kB / 0.6 GB, free: 13.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.975e-05/0.425, allocations: 79.28 kB / 0.6001 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Backend: time 6.11e-07/0.425, allocations: 0 / 0.6001 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01864/0.4436, allocations: 4.699 MB / 0.6047 GB, free: 8.445 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006685/0.4443, allocations: 0.6512 MB / 0.6053 GB, free: 7.742 MB / 446.1 MB Notification: Performance of Templates: time 0.02746/0.4718, allocations: 18.32 MB / 0.6232 GB, free: 5.383 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.373177036002744]