Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.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.001641/0.001641, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001845/0.001845, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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.541/1.541, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3656/0.3656, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.729e-05, allocations: 3.859 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3734/0.3734, allocations: 132.8 MB / 0.4981 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3751, allocations: 1.302 MB / 0.4993 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.3752, allocations: 0 / 0.4993 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.3755, allocations: 37.98 kB / 0.4994 GB, free: 23.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.3786, allocations: 1.104 MB / 0.5004 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.533e-06/0.3786, allocations: 0 / 0.5004 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3788, allocations: 73.27 kB / 0.5005 GB, free: 22.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.3788, allocations: 3.297 kB / 0.5005 GB, free: 22.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.3789, allocations: 38.53 kB / 0.5006 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.379, allocations: 35.05 kB / 0.5006 GB, free: 22.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.379, allocations: 0 / 0.5006 GB, free: 22.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.3823, allocations: 1.614 MB / 0.5022 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.3824, allocations: 21.39 kB / 0.5022 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.3824, allocations: 12.27 kB / 0.5022 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.3846, allocations: 1.035 MB / 0.5032 GB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3846, allocations: 1 kB / 0.5032 GB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3846, allocations: 0 / 0.5032 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3846, allocations: 8.594 kB / 0.5032 GB, free: 22.13 MB / 410.7 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.0008115/0.3855, allocations: 443.4 kB / 0.5036 GB, free: 21.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3855, allocations: 9 kB / 0.5037 GB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.3856, allocations: 7.047 kB / 0.5037 GB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.3856, allocations: 110.2 kB / 0.5038 GB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3857, allocations: 5 kB / 0.5038 GB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3857, allocations: 7.844 kB / 0.5038 GB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3859, allocations: 87.3 kB / 0.5039 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.3859, allocations: 1.094 kB / 0.5039 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3859, allocations: 0.5625 kB / 0.5039 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.3859, allocations: 17 kB / 0.5039 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.386, allocations: 64.31 kB / 0.5039 GB, free: 21.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3865, allocations: 251.3 kB / 0.5042 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.3866, allocations: 47.58 kB / 0.5042 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.3866, allocations: 12.77 kB / 0.5042 GB, free: 21.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.3868, allocations: 27.84 kB / 0.5043 GB, free: 21.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3868, allocations: 32.31 kB / 0.5043 GB, free: 21.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3868, allocations: 0 / 0.5043 GB, free: 21.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002329/0.3871, allocations: 73.5 kB / 0.5044 GB, free: 21.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3871, allocations: 54 kB / 0.5044 GB, free: 21.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.3872, allocations: 120.4 kB / 0.5045 GB, free: 21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.3872, allocations: 25.7 kB / 0.5046 GB, free: 20.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3872, allocations: 100.2 kB / 0.5046 GB, free: 20.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.3872, allocations: 15.28 kB / 0.5047 GB, free: 20.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.3873, allocations: 22.81 kB / 0.5047 GB, free: 20.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.3873, allocations: 317.4 kB / 0.505 GB, free: 20.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.3873, allocations: 11.64 kB / 0.505 GB, free: 20.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.3874, allocations: 36.92 kB / 0.505 GB, free: 20.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.3875, allocations: 57.47 kB / 0.5051 GB, free: 20.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3875, allocations: 1.281 kB / 0.5051 GB, free: 20.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.3876, allocations: 86.89 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3876, allocations: 5.656 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3876, allocations: 1.672 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3876, allocations: 5.156 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.3877, allocations: 13.05 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3877, allocations: 5.469 kB / 0.5052 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.3878, allocations: 10.81 kB / 0.5052 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3878, allocations: 7.719 kB / 0.5052 GB, free: 20.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 6.583e-05/0.3879, allocations: 116.4 kB / 0.5053 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.3879, allocations: 6.281 kB / 0.5053 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.388, allocations: 77.36 kB / 0.5054 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3881, allocations: 1.75 kB / 0.5054 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3881, allocations: 0 / 0.5054 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3881, allocations: 8.438 kB / 0.5054 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3882, allocations: 117.7 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3882, allocations: 1.812 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.3882, allocations: 6.812 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3882, allocations: 3.125 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3882, allocations: 2.453 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3882, allocations: 0 / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3882, allocations: 2.578 kB / 0.5055 GB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.3884, allocations: 158.6 kB / 0.5057 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.3884, allocations: 7.172 kB / 0.5057 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3884, allocations: 4.75 kB / 0.5057 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.3884, allocations: 1.125 kB / 0.5057 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.3885, allocations: 7.062 kB / 0.5057 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.3885, allocations: 7.438 kB / 0.5057 GB, free: 19.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.3885, allocations: 85.33 kB / 0.5058 GB, free: 19.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3885, allocations: 1.375 kB / 0.5058 GB, free: 19.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007045/0.3892, allocations: 153.3 kB / 0.506 GB, free: 19.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0008297/0.39, allocations: 345.4 kB / 0.5063 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.3902, allocations: 38.16 kB / 0.5063 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3902, allocations: 1.375 kB / 0.5063 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.3902, allocations: 14.5 kB / 0.5063 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3905, allocations: 12.02 kB / 0.5063 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3909, allocations: 159.9 kB / 0.5065 GB, free: 19.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.311e-05/0.391, allocations: 68.16 kB / 0.5066 GB, free: 19.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.3911, allocations: 23.72 kB / 0.5066 GB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3911, allocations: 18.84 kB / 0.5066 GB, free: 19.4 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3911, allocations: 3.938 kB / 0.5066 GB, free: 19.39 MB / 410.7 MB Notification: Performance of Templates: time 0.007785/0.3989, allocations: 3.731 MB / 0.5103 GB, free: 19.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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: 5.313680061954074]