Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00185/0.00185, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002341/0.002341, allocations: 210.2 kB / 24.48 MB, free: 3.934 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.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.75 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.2283/0.2283, allocations: 46.95 MB / 361.6 MB, free: 3.906 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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 83.88 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3437, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01268/0.3563, allocations: 8.049 MB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.3711, allocations: 11.48 MB / 0.581 GB, free: 368 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.3711, allocations: 3.938 kB / 0.581 GB, free: 364 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.3713, allocations: 27.83 kB / 0.581 GB, free: 336 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.378, allocations: 2.134 MB / 0.5831 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.638e-06/0.3781, allocations: 0 / 0.5831 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3782, allocations: 55.61 kB / 0.5831 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.3782, allocations: 7.969 kB / 0.5831 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3784, allocations: 35.8 kB / 0.5832 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.3784, allocations: 11.94 kB / 0.5832 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3784, allocations: 0 / 0.5832 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.389, allocations: 5.883 MB / 0.5889 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.389, allocations: 3.984 kB / 0.5889 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.3891, allocations: 15.88 kB / 0.589 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4024, allocations: 4.787 MB / 0.5936 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4025, allocations: 4 kB / 0.5936 GB, free: 3.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4025, allocations: 0 / 0.5936 GB, free: 3.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4025, allocations: 0 / 0.5936 GB, free: 3.371 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.002864/0.4053, allocations: 0.5579 MB / 0.5942 GB, free: 2.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4054, allocations: 8.031 kB / 0.5942 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4055, allocations: 15.98 kB / 0.5942 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4056, allocations: 113.2 kB / 0.5943 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.4056, allocations: 4 kB / 0.5943 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.4057, allocations: 8 kB / 0.5943 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.406, allocations: 109.6 kB / 0.5944 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.406, allocations: 3.938 kB / 0.5944 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.406, allocations: 4 kB / 0.5944 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.406, allocations: 0 / 0.5944 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.4064, allocations: 131.9 kB / 0.5946 GB, free: 2.359 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.0005578/0.4069, allocations: 296.2 kB / 0.5948 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4072, allocations: 66.53 kB / 0.5949 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4073, allocations: 32.84 kB / 0.5949 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003171/0.4105, allocations: 0.8623 MB / 0.5958 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4105, allocations: 34.56 kB / 0.5958 GB, free: 1.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.4105, allocations: 0 / 0.5958 GB, free: 1.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006912/0.4112, allocations: 153.8 kB / 0.596 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4113, allocations: 55.41 kB / 0.596 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.4114, allocations: 101.8 kB / 0.5961 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4114, allocations: 25.7 kB / 0.5961 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.4114, allocations: 99.95 kB / 0.5962 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4115, allocations: 15.86 kB / 0.5962 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.4115, allocations: 29.7 kB / 0.5963 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4117, allocations: 314.8 kB / 0.5966 GB, free: 196 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4118, allocations: 36.08 kB / 0.5966 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4119, allocations: 41.64 kB / 0.5966 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.4121, allocations: 65.62 kB / 0.5967 GB, free: 40 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4121, allocations: 0 / 0.5967 GB, free: 40 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003143/0.4124, allocations: 109.6 kB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4124, allocations: 8 kB / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4124, allocations: 192 / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4124, allocations: 0 / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4126, allocations: 23.98 kB / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4126, allocations: 0 / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.4126, allocations: 15.88 kB / 0.5969 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4126, allocations: 0 / 0.5969 GB, free: 15.88 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.844e-05/0.4127, allocations: 125.7 kB / 0.597 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.4128, allocations: 4 kB / 0.597 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.4133, allocations: 260.1 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4133, allocations: 4 kB / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4133, allocations: 0 / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4133, allocations: 0 / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.4135, allocations: 169.1 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4135, allocations: 4 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.4136, allocations: 23.98 kB / 0.5974 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4136, allocations: 0 / 0.5974 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4136, allocations: 4 kB / 0.5974 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4136, allocations: 4 kB / 0.5974 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4136, allocations: 0 / 0.5974 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.414, allocations: 263.2 kB / 0.5977 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.414, allocations: 15.88 kB / 0.5977 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.414, allocations: 0 / 0.5977 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.4141, allocations: 12 kB / 0.5977 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.4142, allocations: 11.97 kB / 0.5977 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4142, allocations: 4 kB / 0.5977 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.4142, allocations: 79.28 kB / 0.5978 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4142, allocations: 0 / 0.5978 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001925/0.4161, allocations: 371 kB / 0.5982 GB, free: 14.5 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.01251/0.4286, allocations: 3.564 MB / 0.6016 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.4291, allocations: 91.89 kB / 0.6017 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4291, allocations: 0 / 0.6017 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4292, allocations: 63.91 kB / 0.6018 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.4296, allocations: 36.42 kB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.4301, allocations: 280 kB / 0.6021 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.324e-05/0.4302, allocations: 83.08 kB / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.4303, allocations: 19.44 kB / 0.6022 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4303, allocations: 4 kB / 0.6022 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.02372/0.454, allocations: 16.92 MB / 0.6187 GB, free: 9.344 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.28062770422548]