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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001676/0.001676, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2377, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03458/0.2723, allocations: 24.03 MB / 455.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.2753, allocations: 2.01 MB / 457.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.2753, allocations: 3.938 kB / 457.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.2757, allocations: 51.69 kB / 457.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.2761, allocations: 167 kB / 457.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.2921, allocations: 6.507 MB / 463.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.2926, allocations: 338.7 kB / 464.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2927, allocations: 17.69 kB / 464.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.2929, allocations: 147.5 kB / 464.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.2931, allocations: 119.5 kB / 464.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.2931, allocations: 12 kB / 464.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.31, allocations: 8.99 MB / 473.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3102, allocations: 67.84 kB / 473.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3103, allocations: 87.66 kB / 473.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.3201, allocations: 4.689 MB / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3201, allocations: 0 / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3201, allocations: 0 / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3201, allocations: 0 / 478.3 MB, free: 7.133 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.00317/0.3233, allocations: 1.098 MB / 479.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3233, allocations: 15.98 kB / 479.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.3234, allocations: 54.67 kB / 479.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3235, allocations: 24.03 kB / 479.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3238, allocations: 176.3 kB / 479.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3238, allocations: 12.33 kB / 479.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.3239, allocations: 19.95 kB / 479.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.3247, allocations: 388.2 kB / 480.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3247, allocations: 0 / 480.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3247, allocations: 8 kB / 480.1 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3247, allocations: 7.938 kB / 480.1 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.3256, allocations: 316.3 kB / 480.4 MB, free: 4.93 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.0015/0.3271, allocations: 0.694 MB / 481.1 MB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.3278, allocations: 237.1 kB / 481.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.3282, allocations: 133.6 kB / 481.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.3396, allocations: 2.694 MB / 484.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.3397, allocations: 42.5 kB / 484.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.905e-06/0.3397, allocations: 0 / 484.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00295/0.3426, allocations: 0.7027 MB / 484.9 MB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.3427, allocations: 89.05 kB / 485 MB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3428, allocations: 148.5 kB / 485.2 MB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3429, allocations: 29.7 kB / 485.2 MB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.343, allocations: 112.9 kB / 485.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3431, allocations: 130.9 kB / 485.4 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3433, allocations: 77.59 kB / 485.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3434, allocations: 334.8 kB / 485.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.3438, allocations: 131.9 kB / 486 MB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.3444, allocations: 211.6 kB / 486.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.3453, allocations: 355.5 kB / 486.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3453, allocations: 0 / 486.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001241/0.3466, allocations: 424.7 kB / 486.9 MB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3466, allocations: 12.22 kB / 487 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3466, allocations: 0 / 487 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3466, allocations: 7.938 kB / 487 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.3471, allocations: 99.8 kB / 487.1 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3471, allocations: 7.938 kB / 487.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3474, allocations: 23.88 kB / 487.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.3475, allocations: 23.98 kB / 487.1 MB, free: 14.06 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.0001835/0.3477, allocations: 141.8 kB / 487.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3478, allocations: 23.89 kB / 487.3 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.3483, allocations: 190.6 kB / 487.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3483, allocations: 4 kB / 487.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3483, allocations: 4 kB / 487.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3484, allocations: 0 / 487.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.3502, allocations: 0.7262 MB / 488.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3502, allocations: 0 / 488.2 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.3507, allocations: 83.81 kB / 488.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.3507, allocations: 4 kB / 488.3 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.3507, allocations: 15.98 kB / 488.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3507, allocations: 0 / 488.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3507, allocations: 4 kB / 488.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.3524, allocations: 0.7179 MB / 489 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3526, allocations: 51.84 kB / 489.1 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.3526, allocations: 12.06 kB / 489.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.353, allocations: 23.98 kB / 489.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.353, allocations: 27.89 kB / 489.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3531, allocations: 19.98 kB / 489.1 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.3532, allocations: 110 kB / 489.3 MB, free: 11.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 489.3 MB, free: 11.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002607/0.3558, allocations: 0.9666 MB / 490.2 MB, free: 10.84 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.006946/0.3627, allocations: 2.404 MB / 492.6 MB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.364, allocations: 332 kB / 493 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.364, allocations: 0 / 493 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.3646, allocations: 171.7 kB / 493.1 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.3655, allocations: 104.1 kB / 493.2 MB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.3731, allocations: 3.257 MB / 496.5 MB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3733, allocations: 133.8 kB / 496.6 MB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.3737, allocations: 86.39 kB / 496.7 MB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.3739, allocations: 75.39 kB / 496.8 MB, free: 4.062 MB / 398.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3739, allocations: 0 / 496.8 MB, free: 4.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07724/0.4511, allocations: 34.1 MB / 0.5184 GB, free: 2.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.21, allocations: 6.25 kB / 0.5184 GB, free: 2.098 MB / 430.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.151749436743557]