Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 152.4 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.5 kB / 319.4 MB, free: 3.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08891, allocations: 52.16 MB / 371.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3552/0.4441, allocations: 130.3 MB / 0.4901 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4455, allocations: 1.42 MB / 0.4915 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.4456, allocations: 2.812 kB / 0.4915 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.4459, allocations: 55.2 kB / 0.4915 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.4463, allocations: 153.2 kB / 0.4917 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4487, allocations: 1.045 MB / 0.4927 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.449, allocations: 333.2 kB / 0.493 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.4491, allocations: 8.797 kB / 0.493 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.4493, allocations: 161.8 kB / 0.4932 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.4495, allocations: 124.1 kB / 0.4933 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.4496, allocations: 17.27 kB / 0.4933 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.4514, allocations: 1.32 MB / 0.4946 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.4515, allocations: 71.62 kB / 0.4947 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.4516, allocations: 84.22 kB / 0.4947 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.4528, allocations: 0.9455 MB / 0.4957 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4528, allocations: 3.938 kB / 0.4957 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4528, allocations: 0 / 0.4957 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4528, allocations: 3.094 kB / 0.4957 GB, free: 14.96 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001637/0.4544, allocations: 0.6035 MB / 0.4963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.4544, allocations: 10.36 kB / 0.4963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.4546, allocations: 25.92 kB / 0.4963 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.4548, allocations: 163.3 kB / 0.4964 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4548, allocations: 12.69 kB / 0.4965 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.4549, allocations: 18.56 kB / 0.4965 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.4554, allocations: 365.8 kB / 0.4968 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4555, allocations: 0 / 0.4968 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.4555, allocations: 9.688 kB / 0.4968 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.4555, allocations: 5.375 kB / 0.4968 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.4561, allocations: 265.2 kB / 0.4971 GB, free: 14.23 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.001301/0.4574, allocations: 0.6112 MB / 0.4977 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.458, allocations: 213.1 kB / 0.4979 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.4583, allocations: 125.3 kB / 0.498 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.4585, allocations: 54.66 kB / 0.4981 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4585, allocations: 40.73 kB / 0.4981 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.4585, allocations: 0 / 0.4981 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00235/0.4608, allocations: 0.6727 MB / 0.4988 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.4609, allocations: 85.7 kB / 0.4988 GB, free: 13.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.461, allocations: 123 kB / 0.499 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.461, allocations: 30.98 kB / 0.499 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4611, allocations: 111 kB / 0.4991 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.4612, allocations: 130.8 kB / 0.4992 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4613, allocations: 68.53 kB / 0.4993 GB, free: 13.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4615, allocations: 333 kB / 0.4996 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.4618, allocations: 127.1 kB / 0.4997 GB, free: 12.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.4622, allocations: 210.2 kB / 0.4999 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.463, allocations: 364 kB / 0.5003 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.463, allocations: 4 kB / 0.5003 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000912/0.4639, allocations: 405.1 kB / 0.5007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4639, allocations: 5.188 kB / 0.5007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4639, allocations: 3.594 kB / 0.5007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4639, allocations: 5.781 kB / 0.5007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.4644, allocations: 91.33 kB / 0.5008 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4644, allocations: 4.938 kB / 0.5008 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.4647, allocations: 29.11 kB / 0.5008 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.4648, allocations: 15.25 kB / 0.5008 GB, free: 12.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001408/0.4649, allocations: 148.1 kB / 0.5009 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.465, allocations: 16.16 kB / 0.501 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.4653, allocations: 179.4 kB / 0.5011 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4653, allocations: 4.531 kB / 0.5011 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4653, allocations: 7.672 kB / 0.5011 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4653, allocations: 0 / 0.5011 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4669, allocations: 0.6654 MB / 0.5018 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4669, allocations: 0 / 0.5018 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.4673, allocations: 81.62 kB / 0.5019 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4673, allocations: 8.094 kB / 0.5019 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.4674, allocations: 10.91 kB / 0.5019 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4674, allocations: 8.188 kB / 0.5019 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4674, allocations: 9.5 kB / 0.5019 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4687, allocations: 0.7092 MB / 0.5026 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4688, allocations: 41.53 kB / 0.5026 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.4688, allocations: 13.16 kB / 0.5027 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4692, allocations: 21.05 kB / 0.5027 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4692, allocations: 29.06 kB / 0.5027 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.4693, allocations: 16.39 kB / 0.5027 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.4693, allocations: 94.59 kB / 0.5028 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4693, allocations: 0 / 0.5028 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.4699, allocations: 137.9 kB / 0.5029 GB, free: 11.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0003932/0.4703, allocations: 230.2 kB / 0.5032 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.4711, allocations: 334.6 kB / 0.5035 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4711, allocations: 2.719 kB / 0.5035 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.4715, allocations: 170.2 kB / 0.5036 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.4722, allocations: 91.23 kB / 0.5037 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4735, allocations: 0.6171 MB / 0.5043 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.4736, allocations: 129.8 kB / 0.5045 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.4739, allocations: 71.83 kB / 0.5045 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.474, allocations: 35.47 kB / 0.5046 GB, free: 11.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.474, allocations: 0 / 0.5046 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01034/0.4844, allocations: 6.037 MB / 0.5105 GB, free: 8.875 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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: 4.798770920955576]