Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.013/2.013, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 50.53 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04218/0.3325, allocations: 26.64 MB / 436.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3357, allocations: 2.243 MB / 438.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3359, allocations: 0 / 438.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.3363, allocations: 67.58 kB / 438.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.3369, allocations: 163 kB / 439 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01959/0.3565, allocations: 6.51 MB / 445.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005842/0.3571, allocations: 334.7 kB / 445.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.3572, allocations: 17.55 kB / 445.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3576, allocations: 147.5 kB / 446 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.3578, allocations: 123.6 kB / 446.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.3579, allocations: 12 kB / 446.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02118/0.3791, allocations: 9.533 MB / 455.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3793, allocations: 67.8 kB / 455.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.3795, allocations: 103.6 kB / 455.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.3921, allocations: 4.729 MB / 460.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3921, allocations: 0 / 460.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3921, allocations: 0 / 460.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3921, allocations: 0 / 460.6 MB, free: 14.82 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.003707/0.3959, allocations: 1.146 MB / 461.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3959, allocations: 8.031 kB / 461.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.3961, allocations: 28.12 kB / 461.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3964, allocations: 222.7 kB / 462 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3965, allocations: 12.33 kB / 462 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.3965, allocations: 19.98 kB / 462 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.3973, allocations: 285.4 kB / 462.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3974, allocations: 4 kB / 462.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3974, allocations: 4 kB / 462.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.3974, allocations: 15.94 kB / 462.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/0.3983, allocations: 311.7 kB / 462.6 MB, free: 12.68 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.001598/0.3999, allocations: 0.8244 MB / 463.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007721/0.4007, allocations: 253.1 kB / 463.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.401, allocations: 141.6 kB / 463.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/0.4178, allocations: 12.85 MB / 476.7 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.4179, allocations: 42.55 kB / 476.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.614e-06/0.4179, allocations: 4 kB / 476.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003056/0.421, allocations: 0.6924 MB / 477.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.4211, allocations: 89.05 kB / 477.5 MB, free: 11.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.4212, allocations: 148.1 kB / 477.7 MB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.4212, allocations: 33.7 kB / 477.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.4213, allocations: 112.8 kB / 477.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4214, allocations: 126.2 kB / 477.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.4216, allocations: 69.64 kB / 478 MB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4217, allocations: 338.8 kB / 478.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.4221, allocations: 135.9 kB / 478.5 MB, free: 10.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.4226, allocations: 207.6 kB / 478.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.4236, allocations: 362.9 kB / 479 MB, free: 9.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4236, allocations: 0 / 479 MB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001204/0.4248, allocations: 424.4 kB / 479.4 MB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4249, allocations: 6.812 kB / 479.4 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4249, allocations: 4 kB / 479.4 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4249, allocations: 7.938 kB / 479.4 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.4254, allocations: 96.03 kB / 479.5 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.4254, allocations: 4 kB / 479.5 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.4257, allocations: 31.81 kB / 479.6 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.4258, allocations: 19.98 kB / 479.6 MB, free: 8.98 MB / 398.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.0001554/0.426, allocations: 137.8 kB / 479.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4261, allocations: 19.81 kB / 479.7 MB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.4266, allocations: 190.6 kB / 479.9 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4266, allocations: 4 kB / 479.9 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4266, allocations: 4 kB / 479.9 MB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4267, allocations: 3.984 kB / 479.9 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.4285, allocations: 0.7868 MB / 480.7 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4285, allocations: 0 / 480.7 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.429, allocations: 83.88 kB / 480.8 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.429, allocations: 4 kB / 480.8 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.429, allocations: 8 kB / 480.8 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.429, allocations: 4 kB / 480.8 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4291, allocations: 8.141 kB / 480.8 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.4307, allocations: 0.7102 MB / 481.5 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.4309, allocations: 132.7 kB / 481.7 MB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4309, allocations: 12.05 kB / 481.7 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.4313, allocations: 19.98 kB / 481.7 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.4314, allocations: 27.91 kB / 481.7 MB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.4314, allocations: 19.98 kB / 481.8 MB, free: 6.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.4315, allocations: 109.5 kB / 481.9 MB, free: 6.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4315, allocations: 0 / 481.9 MB, free: 6.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002842/0.4344, allocations: 0.9525 MB / 482.8 MB, free: 5.621 MB / 398.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.005246/0.4396, allocations: 1.255 MB / 484.1 MB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4412, allocations: 346.9 kB / 484.4 MB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4412, allocations: 4 kB / 484.4 MB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.4419, allocations: 187.5 kB / 484.6 MB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.4427, allocations: 104 kB / 484.7 MB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4445, allocations: 0.6462 MB / 485.3 MB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4448, allocations: 0.7374 MB / 486.1 MB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.4451, allocations: 47.41 kB / 486.1 MB, free: 2.223 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4451, allocations: 4 kB / 486.1 MB, free: 2.219 MB / 398.1 MB Notification: Performance of Templates: time 0.03364/0.4787, allocations: 20.17 MB / 0.4944 GB, free: 14.03 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches