Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.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.001498/0.001498, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001648/0.001648, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.391/1.391, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001899/0.001899, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2769, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03593/0.3129, allocations: 26.86 MB / 458.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3159, allocations: 2.266 MB / 461.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.316, allocations: 4 kB / 461.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.3163, allocations: 63.64 kB / 461.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.3167, allocations: 163 kB / 461.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01626/0.333, allocations: 6.554 MB / 468 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.3336, allocations: 342.7 kB / 468.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.3337, allocations: 5.562 kB / 468.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.334, allocations: 147.5 kB / 468.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.3342, allocations: 127.5 kB / 468.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.3342, allocations: 12 kB / 468.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.3519, allocations: 9.651 MB / 478.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3521, allocations: 67.84 kB / 478.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3523, allocations: 115.5 kB / 478.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.3651, allocations: 4.732 MB / 483.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3651, allocations: 0 / 483.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3651, allocations: 0 / 483.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3651, allocations: 0 / 483.1 MB, free: 4.164 MB / 382.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.003806/0.3689, allocations: 1.188 MB / 484.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3689, allocations: 8.031 kB / 484.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3691, allocations: 24.22 kB / 484.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3694, allocations: 218.8 kB / 484.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3695, allocations: 16.33 kB / 484.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.3695, allocations: 19.95 kB / 484.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.3702, allocations: 293.4 kB / 484.9 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3703, allocations: 0 / 484.9 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3703, allocations: 8 kB / 484.9 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.3703, allocations: 11.88 kB / 484.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.3711, allocations: 311.8 kB / 485.2 MB, free: 1.977 MB / 382.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.001575/0.3727, allocations: 0.8206 MB / 486 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.3734, allocations: 245.1 kB / 486.3 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3737, allocations: 133.6 kB / 486.4 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01706/0.3908, allocations: 12.83 MB / 499.2 MB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.3909, allocations: 42.55 kB / 499.3 MB, free: 1.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3909, allocations: 3.938 kB / 499.3 MB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002952/0.3938, allocations: 0.708 MB / 500 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.3939, allocations: 81.11 kB / 0.4883 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.394, allocations: 145.1 kB / 0.4885 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.394, allocations: 29.7 kB / 0.4885 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.3941, allocations: 112.9 kB / 0.4886 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3942, allocations: 134.9 kB / 0.4887 GB, free: 52 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3944, allocations: 73.64 kB / 0.4888 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3945, allocations: 334.8 kB / 0.4891 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.3949, allocations: 127.9 kB / 0.4893 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.3954, allocations: 215.5 kB / 0.4895 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.3964, allocations: 369.4 kB / 0.4898 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3964, allocations: 0 / 0.4898 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001225/0.3976, allocations: 421.1 kB / 0.4902 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3977, allocations: 11.12 kB / 0.4902 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3977, allocations: 0 / 0.4902 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3977, allocations: 7.938 kB / 0.4902 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.3982, allocations: 91.88 kB / 0.4903 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3982, allocations: 4 kB / 0.4903 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3985, allocations: 32.12 kB / 0.4904 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.3985, allocations: 20 kB / 0.4904 GB, free: 14.31 MB / 414.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.0001778/0.3987, allocations: 145.7 kB / 0.4905 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.3989, allocations: 23.86 kB / 0.4905 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.3994, allocations: 194.6 kB / 0.4907 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3994, allocations: 4 kB / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3994, allocations: 0 / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3994, allocations: 3.984 kB / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.4012, allocations: 0.7868 MB / 0.4915 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4012, allocations: 4 kB / 0.4915 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.4017, allocations: 84.03 kB / 0.4916 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.4017, allocations: 4 kB / 0.4916 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4017, allocations: 8 kB / 0.4916 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.4017, allocations: 4 kB / 0.4916 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.4017, allocations: 4 kB / 0.4916 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.4033, allocations: 0.7223 MB / 0.4923 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.4035, allocations: 128.9 kB / 0.4924 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.4036, allocations: 12 kB / 0.4924 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.4039, allocations: 15.98 kB / 0.4925 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.404, allocations: 39.91 kB / 0.4925 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.404, allocations: 11.98 kB / 0.4925 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.933e-05/0.4041, allocations: 115.2 kB / 0.4926 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 0 / 0.4926 GB, free: 11.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002803/0.4069, allocations: 0.9589 MB / 0.4936 GB, free: 10.91 MB / 414.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 (37): * Single equations (assignments): 37 * 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.004209/0.4111, allocations: 1.271 MB / 0.4948 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4123, allocations: 336.6 kB / 0.4951 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4123, allocations: 0 / 0.4951 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.4128, allocations: 170.4 kB / 0.4953 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.4136, allocations: 104.2 kB / 0.4954 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4151, allocations: 0.6495 MB / 0.496 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.4154, allocations: 0.7451 MB / 0.4967 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4156, allocations: 51.39 kB / 0.4968 GB, free: 7.512 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4156, allocations: 0 / 0.4968 GB, free: 7.512 MB / 414.1 MB Notification: Performance of Templates: time 0.03152/0.4472, allocations: 20.21 MB / 0.5165 GB, free: 3.285 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.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: 9.665845745243132]