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.001818/0.001818, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002167/0.002167, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.441/1.441, 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.00194/0.00194, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2031, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0344/0.2376, allocations: 26.88 MB / 458.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2406, allocations: 2.255 MB / 461.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2406, allocations: 3.938 kB / 461.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.241, allocations: 59.64 kB / 461.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.2413, allocations: 171 kB / 461.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.256, allocations: 6.555 MB / 468 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.2565, allocations: 342.6 kB / 468.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.2565, allocations: 5.562 kB / 468.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2567, allocations: 139.6 kB / 468.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.257, allocations: 139.4 kB / 468.6 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.257, allocations: 11.98 kB / 468.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/0.2729, allocations: 9.647 MB / 478.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.273, allocations: 71.84 kB / 478.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2732, allocations: 103.5 kB / 478.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007392/0.2806, allocations: 4.732 MB / 483.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2806, allocations: 0 / 483.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2806, allocations: 4 kB / 483.1 MB, free: 4.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2806, allocations: 4 kB / 483.1 MB, free: 4.152 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.003175/0.2838, allocations: 1.188 MB / 484.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2838, allocations: 8.031 kB / 484.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.2839, allocations: 24.22 kB / 484.4 MB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2842, allocations: 226.8 kB / 484.6 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.2843, allocations: 12.33 kB / 484.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.2843, allocations: 19.95 kB / 484.6 MB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.2851, allocations: 281.5 kB / 484.9 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2851, allocations: 4 kB / 484.9 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2851, allocations: 4 kB / 484.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.2851, allocations: 19.86 kB / 484.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.286, allocations: 303.8 kB / 485.2 MB, free: 1.973 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.001566/0.2875, allocations: 0.8284 MB / 486 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.2883, allocations: 241.1 kB / 486.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.2886, allocations: 133.6 kB / 486.4 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/0.3063, allocations: 12.84 MB / 499.3 MB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3064, allocations: 34.56 kB / 499.3 MB, free: 1.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.806e-06/0.3064, allocations: 0 / 499.3 MB, free: 1.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003047/0.3094, allocations: 0.7142 MB / 0.4883 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3095, allocations: 81.11 kB / 0.4884 GB, free: 476 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3096, allocations: 144.9 kB / 0.4885 GB, free: 324 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3096, allocations: 29.7 kB / 0.4885 GB, free: 288 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.3097, allocations: 116.9 kB / 0.4886 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3098, allocations: 126.9 kB / 0.4888 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.31, allocations: 77.62 kB / 0.4888 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3101, allocations: 330.8 kB / 0.4891 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.3105, allocations: 139.9 kB / 0.4893 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.3111, allocations: 207.6 kB / 0.4895 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3121, allocations: 365.2 kB / 0.4898 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3121, allocations: 4 kB / 0.4898 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001272/0.3134, allocations: 417.1 kB / 0.4902 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3134, allocations: 8 kB / 0.4902 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3134, allocations: 224 / 0.4902 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3134, allocations: 8 kB / 0.4902 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.3139, allocations: 99.75 kB / 0.4903 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.314, allocations: 7.984 kB / 0.4903 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3143, allocations: 27.91 kB / 0.4904 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.3143, allocations: 16 kB / 0.4904 GB, free: 14.3 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.0001647/0.3145, allocations: 145.8 kB / 0.4905 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3146, allocations: 23.86 kB / 0.4906 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.3151, allocations: 178.7 kB / 0.4907 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3151, allocations: 7.875 kB / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3152, allocations: 4 kB / 0.4907 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.3153, allocations: 136.8 kB / 0.4909 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.3154, allocations: 7.984 kB / 0.4909 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.3158, allocations: 19.98 kB / 0.4909 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3158, allocations: 19.97 kB / 0.4909 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001448/0.3172, allocations: 0.5333 MB / 0.4914 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001751/0.319, allocations: 0.7872 MB / 0.4922 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004958/0.3195, allocations: 158.3 kB / 0.4923 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.3196, allocations: 113.1 kB / 0.4925 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Backend: time 4.11e-07/0.3196, allocations: 0 / 0.4925 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006728/0.3263, allocations: 1.958 MB / 0.4944 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 0.001143/0.3274, allocations: 0.9605 MB / 0.4953 GB, free: 9.16 MB / 414.1 MB Notification: Performance of Templates: time 0.05856/0.386, allocations: 40.68 MB / 0.535 GB, free: 464 kB / 446.1 MB " [Timeout remaining time 659] 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: 6.655259815044701]