Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 98.81 kB / 16.94 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 181.9 kB / 17.83 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 15.98 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08395, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02513/0.1091, allocations: 22.06 MB / 350.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1115, allocations: 1.883 MB / 352.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.1116, allocations: 0 / 352.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1119, allocations: 59.7 kB / 352.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1122, allocations: 107.7 kB / 352.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.1237, allocations: 4.45 MB / 356.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.124, allocations: 179.4 kB / 357.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1241, allocations: 12.91 kB / 357.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1243, allocations: 127.6 kB / 357.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1245, allocations: 91.66 kB / 357.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1245, allocations: 8 kB / 357.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/0.1387, allocations: 8.283 MB / 365.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1389, allocations: 55.86 kB / 365.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.139, allocations: 57.64 kB / 365.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005422/0.1444, allocations: 2.943 MB / 368.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1444, allocations: 0 / 368.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1444, allocations: 0 / 368.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1444, allocations: 0 / 368.6 MB, free: 11.7 MB / 318.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.003019/0.1475, allocations: 1.057 MB / 369.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1475, allocations: 11.97 kB / 369.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1477, allocations: 27.75 kB / 369.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1479, allocations: 214.9 kB / 369.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.148, allocations: 8.328 kB / 369.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.148, allocations: 16 kB / 370 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.1487, allocations: 285.4 kB / 370.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1487, allocations: 3.906 kB / 370.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1488, allocations: 8 kB / 370.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1488, allocations: 8 kB / 370.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.1496, allocations: 319.7 kB / 370.6 MB, free: 9.652 MB / 318.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.001434/0.1511, allocations: 0.8322 MB / 371.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.1518, allocations: 241.2 kB / 371.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1556/0.3074, allocations: 12.91 MB / 384.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3075, allocations: 40.81 kB / 384.6 MB, free: 45.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.245e-06/0.3075, allocations: 0 / 384.6 MB, free: 45.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002794/0.3103, allocations: 0.687 MB / 385.3 MB, free: 45.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3103, allocations: 88.27 kB / 385.4 MB, free: 45.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3105, allocations: 129.2 kB / 385.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3105, allocations: 30.61 kB / 385.5 MB, free: 45.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.3106, allocations: 103 kB / 385.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.3106, allocations: 127.9 kB / 385.7 MB, free: 45.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.3107, allocations: 9 kB / 385.7 MB, free: 45.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.3107, allocations: 326.6 kB / 386.1 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.3111, allocations: 136.7 kB / 386.2 MB, free: 44.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.3116, allocations: 207.5 kB / 386.4 MB, free: 44.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.3121, allocations: 153 kB / 386.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3121, allocations: 0 / 386.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/0.3132, allocations: 410.3 kB / 387 MB, free: 44.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3133, allocations: 6.891 kB / 387 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3133, allocations: 13.09 kB / 387 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3133, allocations: 4.375 kB / 387 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3138, allocations: 89.25 kB / 387.1 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3138, allocations: 8.641 kB / 387.1 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3141, allocations: 35.58 kB / 387.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.3142, allocations: 17.39 kB / 387.1 MB, free: 44.73 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3143, allocations: 143 kB / 387.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3144, allocations: 20.97 kB / 387.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.3149, allocations: 191.8 kB / 387.5 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3149, allocations: 3.531 kB / 387.5 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.315, allocations: 2.594 kB / 387.5 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.315, allocations: 5.828 kB / 387.5 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.3167, allocations: 0.7601 MB / 388.2 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3167, allocations: 1.938 kB / 388.2 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.3171, allocations: 84.66 kB / 388.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.3171, allocations: 3.328 kB / 388.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3171, allocations: 14.58 kB / 388.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3172, allocations: 4 kB / 388.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3172, allocations: 2.75 kB / 388.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3186, allocations: 0.7757 MB / 389.1 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3187, allocations: 126 kB / 389.2 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3188, allocations: 8.234 kB / 389.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.3193, allocations: 27.06 kB / 389.3 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3193, allocations: 19.77 kB / 389.3 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.3194, allocations: 23.25 kB / 389.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.3194, allocations: 100.3 kB / 389.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3195, allocations: 0 / 389.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002553/0.322, allocations: 0.9236 MB / 390.3 MB, free: 43.5 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003388/0.3254, allocations: 1.19 MB / 391.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3265, allocations: 347.4 kB / 391.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3265, allocations: 1.438 kB / 391.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.327, allocations: 180.5 kB / 392.1 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.3277, allocations: 93.27 kB / 392.1 MB, free: 43.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3291, allocations: 0.7009 MB / 392.8 MB, free: 42.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3293, allocations: 0.7436 MB / 393.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.3298, allocations: 94.38 kB / 393.7 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3299, allocations: 36.22 kB / 393.7 MB, free: 41.98 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3299, allocations: 0 / 393.7 MB, free: 41.98 MB / 318.1 MB Notification: Performance of Templates: time 0.03343/0.3634, allocations: 30.95 MB / 424.7 MB, free: 17.28 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches