Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0007876/0.0007876, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003297/0.003297, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.839/0.839, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002478/0.0002489, allocations: 6.219 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03149/0.03174, allocations: 45.3 MB / 365 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.03526, allocations: 4.689 MB / 369.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.0354, allocations: 7.938 kB / 369.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.03593, allocations: 234.5 kB / 369.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.03632, allocations: 385.5 kB / 370.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.04744, allocations: 7.177 MB / 377.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.04853, allocations: 1.114 MB / 378.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.04869, allocations: 94.72 kB / 378.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.05211, allocations: 3.767 MB / 382.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.05244, allocations: 374.9 kB / 382.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.0525, allocations: 60 kB / 382.9 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.06314, allocations: 9.317 MB / 392.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.06331, allocations: 235.4 kB / 392.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.06348, allocations: 247.5 kB / 392.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005956/0.06943, allocations: 6.677 MB / 399.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.06943, allocations: 0 / 399.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06944, allocations: 0 / 399.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.06944, allocations: 0 / 399.3 MB, free: 5.945 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001815/0.07126, allocations: 1.319 MB / 400.7 MB, free: 4.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.07129, allocations: 12.03 kB / 400.7 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.07149, allocations: 59.72 kB / 400.7 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.07184, allocations: 312.2 kB / 401 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.07186, allocations: 29 kB / 401.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.07191, allocations: 44 kB / 401.1 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.07273, allocations: 0.8932 MB / 402 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.07274, allocations: 0 / 402 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.07278, allocations: 27.94 kB / 402 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.07279, allocations: 12 kB / 402 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.07358, allocations: 0.7378 MB / 402.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.07926, allocations: 3.581 MB / 406.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.08026, allocations: 0.5125 MB / 406.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.08049, allocations: 242.2 kB / 407.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004444/0.08494, allocations: 2.561 MB / 409.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.08496, allocations: 47.06 kB / 409.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.744e-06/0.08496, allocations: 0 / 409.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003017/0.08798, allocations: 1.888 MB / 411.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.08802, allocations: 63.91 kB / 411.7 MB, free: 9.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.08822, allocations: 269.6 kB / 411.9 MB, free: 9.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.08826, allocations: 37.7 kB / 412 MB, free: 9.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.08837, allocations: 205.3 kB / 412.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.08847, allocations: 206.2 kB / 412.4 MB, free: 8.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.08859, allocations: 114.3 kB / 412.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.08868, allocations: 346.8 kB / 412.8 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.08892, allocations: 241.2 kB / 413.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.0893, allocations: 344.4 kB / 413.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.09027, allocations: 0.6085 MB / 414 MB, free: 6.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09028, allocations: 0 / 414 MB, free: 6.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001025/0.0913, allocations: 0.7419 MB / 414.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.09132, allocations: 8 kB / 414.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.09132, allocations: 4 kB / 414.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.09159, allocations: 102.5 kB / 414.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.09184, allocations: 131.8 kB / 415 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.09336, allocations: 3.22 MB / 418.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.09348, allocations: 15.98 kB / 418.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.09353, allocations: 28 kB / 418.2 MB, free: 2.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.09368, allocations: 197.2 kB / 418.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.09382, allocations: 39.81 kB / 418.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.09474, allocations: 0.8126 MB / 419.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.09474, allocations: 11.94 kB / 419.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.09474, allocations: 0 / 419.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006723/0.09542, allocations: 0.7611 MB / 420.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.09684, allocations: 1.131 MB / 421.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.09685, allocations: 4.062 kB / 421.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.09708, allocations: 103.9 kB / 421.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.0975, allocations: 148.6 kB / 421.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.09753, allocations: 19.98 kB / 421.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002351/0.09776, allocations: 0.6445 MB / 422.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.09776, allocations: 7.875 kB / 422.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.09873, allocations: 0.8995 MB / 423 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.09876, allocations: 39.78 kB / 423.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.09879, allocations: 8 kB / 423.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.09897, allocations: 19.98 kB / 423.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.09901, allocations: 44.36 kB / 423.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.09905, allocations: 32.08 kB / 423.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.09919, allocations: 217.2 kB / 423.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09919, allocations: 0 / 423.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002427/0.1016, allocations: 1.329 MB / 424.7 MB, free: 11.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/0.1048, allocations: 1.866 MB / 426.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.1057, allocations: 0.7814 MB / 427.3 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1057, allocations: 0.5625 kB / 427.3 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.106, allocations: 283.6 kB / 427.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.1066, allocations: 221.2 kB / 427.8 MB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1081, allocations: 1.04 MB / 428.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1082, allocations: 237.4 kB / 429.1 MB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1083, allocations: 60.48 kB / 429.2 MB, free: 7.207 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1083, allocations: 4 kB / 429.2 MB, free: 7.203 MB / 394.7 MB Notification: Performance of Templates: time 0.1559/0.2642, allocations: 33.75 MB / 462.9 MB, free: 110.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.892190746031702]