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.005396/0.005396, allocations: 105.6 kB / 21.98 MB, free: 5.223 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.001599/0.001599, allocations: 210.3 kB / 25.29 MB, free: 3.203 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.459/1.459, allocations: 230.5 MB / 258.9 MB, free: 8.172 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.2272/0.2272, allocations: 46.93 MB / 362.3 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 179] 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.002338/0.002338, allocations: 79.86 kB / 0.4982 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4026, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01331/0.4159, allocations: 8.478 MB / 0.571 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.433, allocations: 13.11 MB / 0.5838 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.433, allocations: 0 / 0.5838 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.4333, allocations: 47.78 kB / 0.5838 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007393/0.4407, allocations: 2.157 MB / 0.586 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.242e-06/0.4407, allocations: 0 / 0.586 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.4408, allocations: 51.61 kB / 0.586 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.4409, allocations: 4 kB / 0.586 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.4411, allocations: 35.84 kB / 0.586 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.4411, allocations: 11.94 kB / 0.5861 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.4411, allocations: 0 / 0.5861 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.4519, allocations: 6.082 MB / 0.592 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.452, allocations: 11.92 kB / 0.592 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.452, allocations: 15.94 kB / 0.592 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4644, allocations: 4.795 MB / 0.5967 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4645, allocations: 0 / 0.5967 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4645, allocations: 0 / 0.5967 GB, free: 1.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.4645, allocations: 0 / 0.5967 GB, free: 1.367 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.003451/0.4679, allocations: 0.5658 MB / 0.5973 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.468, allocations: 8.031 kB / 0.5973 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4681, allocations: 8 kB / 0.5973 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4682, allocations: 113.2 kB / 0.5974 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4683, allocations: 8 kB / 0.5974 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.4683, allocations: 4 kB / 0.5974 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.4686, allocations: 117.5 kB / 0.5975 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4686, allocations: 7.938 kB / 0.5975 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4686, allocations: 0 / 0.5975 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4687, allocations: 0 / 0.5975 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.469, allocations: 131.9 kB / 0.5976 GB, free: 356 kB / 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.0006869/0.4697, allocations: 379 kB / 0.598 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.47, allocations: 70.53 kB / 0.5981 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.4701, allocations: 28.84 kB / 0.5981 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/0.4731, allocations: 0.8701 MB / 0.5989 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4731, allocations: 30.56 kB / 0.599 GB, free: 14.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.4731, allocations: 0 / 0.599 GB, free: 14.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006558/0.4738, allocations: 145.5 kB / 0.5991 GB, free: 14.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4738, allocations: 51.41 kB / 0.5992 GB, free: 14.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.4739, allocations: 101.8 kB / 0.5993 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4739, allocations: 29.7 kB / 0.5993 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.474, allocations: 104 kB / 0.5994 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.474, allocations: 15.86 kB / 0.5994 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.4741, allocations: 29.69 kB / 0.5994 GB, free: 14.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4742, allocations: 318.8 kB / 0.5997 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.4743, allocations: 23.98 kB / 0.5998 GB, free: 14.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4744, allocations: 45.69 kB / 0.5998 GB, free: 14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4746, allocations: 66.09 kB / 0.5999 GB, free: 13.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4746, allocations: 0 / 0.5999 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002899/0.4749, allocations: 105.6 kB / 0.6 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.475, allocations: 4.031 kB / 0.6 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.475, allocations: 4 kB / 0.6 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.475, allocations: 0 / 0.6 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4751, allocations: 27.92 kB / 0.6 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4751, allocations: 0 / 0.6 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.4751, allocations: 11.89 kB / 0.6 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4752, allocations: 4 kB / 0.6 GB, free: 13.77 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.0001014/0.4753, allocations: 117.8 kB / 0.6001 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4753, allocations: 7.938 kB / 0.6001 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.4758, allocations: 257.4 kB / 0.6004 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4758, allocations: 4 kB / 0.6004 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4758, allocations: 0 / 0.6004 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4758, allocations: 0 / 0.6004 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.4761, allocations: 212.5 kB / 0.6006 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4761, allocations: 0 / 0.6006 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.4762, allocations: 20 kB / 0.6006 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4762, allocations: 3.984 kB / 0.6006 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4762, allocations: 4 kB / 0.6006 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4762, allocations: 4 kB / 0.6006 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4762, allocations: 0 / 0.6006 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.4766, allocations: 265.6 kB / 0.6009 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.4766, allocations: 7.953 kB / 0.6009 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4766, allocations: 0 / 0.6009 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.4767, allocations: 7.984 kB / 0.6009 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.4767, allocations: 11.98 kB / 0.6009 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.4768, allocations: 0 / 0.6009 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.4768, allocations: 79.28 kB / 0.601 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4768, allocations: 3.938 kB / 0.601 GB, free: 12.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002459/0.4793, allocations: 382.9 kB / 0.6013 GB, free: 12.34 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.01221/0.4915, allocations: 3.562 MB / 0.6048 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.4919, allocations: 99.89 kB / 0.6049 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4919, allocations: 0 / 0.6049 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4921, allocations: 59.97 kB / 0.605 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4924, allocations: 19.98 kB / 0.605 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.493, allocations: 288 kB / 0.6053 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.4933, allocations: 0.6924 MB / 0.6059 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.4934, allocations: 19.44 kB / 0.606 GB, free: 7.527 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4934, allocations: 0 / 0.606 GB, free: 7.527 MB / 446.1 MB Notification: Performance of Templates: time 0.02472/0.5181, allocations: 16.91 MB / 0.6225 GB, free: 6.59 MB / 462.1 MB " [Timeout remaining time 659] 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: 9.11846029595472]