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.001323/0.001323, allocations: 84.72 kB / 20.68 MB, free: 1.035 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.001387/0.001387, allocations: 158.5 kB / 23.95 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.471/1.471, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.067e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03328/0.03331, allocations: 24.02 MB / 349 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.03641, allocations: 2.017 MB / 351.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.03652, allocations: 0 / 351.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.03692, allocations: 59.66 kB / 351.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.03741, allocations: 170.8 kB / 351.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01817/0.05557, allocations: 6.56 MB / 357.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.05608, allocations: 346.5 kB / 358.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.05612, allocations: 9.75 kB / 358.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.05644, allocations: 187.5 kB / 358.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.05667, allocations: 115.7 kB / 358.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.05671, allocations: 12 kB / 358.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/0.07378, allocations: 9.012 MB / 367.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.07392, allocations: 79.78 kB / 367.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.07408, allocations: 79.88 kB / 367.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.08649, allocations: 5.89 MB / 373.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.0865, allocations: 3.938 kB / 373.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0865, allocations: 0 / 373.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.08651, allocations: 4 kB / 373.6 MB, free: 4.434 MB / 334.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.003503/0.09001, allocations: 1.094 MB / 374.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.09005, allocations: 11.98 kB / 374.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.09023, allocations: 24.22 kB / 374.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.09052, allocations: 168.9 kB / 374.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.09054, allocations: 20.19 kB / 374.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.09059, allocations: 23.95 kB / 374.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.09146, allocations: 392.2 kB / 375.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.09148, allocations: 0 / 375.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.09151, allocations: 8 kB / 375.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.09153, allocations: 8 kB / 375.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.09246, allocations: 311.7 kB / 375.6 MB, free: 2.293 MB / 334.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.001515/0.09397, allocations: 0.6557 MB / 376.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.0948, allocations: 249.1 kB / 376.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.09515, allocations: 129.6 kB / 376.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.1081, allocations: 2.686 MB / 379.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.1081, allocations: 34.56 kB / 379.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.1081, allocations: 7.938 kB / 379.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.003233/0.1113, allocations: 0.6947 MB / 380 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1114, allocations: 81.11 kB / 380.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1116, allocations: 152.6 kB / 380.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1116, allocations: 33.7 kB / 380.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.1117, allocations: 116.9 kB / 380.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1118, allocations: 130.8 kB / 380.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.112, allocations: 73.64 kB / 380.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1121, allocations: 326.8 kB / 380.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.1126, allocations: 135.8 kB / 381.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.1131, allocations: 211.6 kB / 381.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.1142, allocations: 369.6 kB / 381.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1142, allocations: 0 / 381.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001357/0.1156, allocations: 425.1 kB / 382.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1156, allocations: 4 kB / 382.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1156, allocations: 4 kB / 382.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1156, allocations: 4 kB / 382.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.1162, allocations: 88.09 kB / 382.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.1162, allocations: 7.984 kB / 382.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1165, allocations: 35.88 kB / 382.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.1166, allocations: 23.92 kB / 382.2 MB, free: 11.48 MB / 350.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.0002003/0.1168, allocations: 133.8 kB / 382.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.1169, allocations: 23.89 kB / 382.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.1175, allocations: 194.8 kB / 382.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1175, allocations: 4 kB / 382.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1175, allocations: 0 / 382.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1175, allocations: 3.984 kB / 382.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1194, allocations: 0.68 MB / 383.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1194, allocations: 4 kB / 383.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.12, allocations: 87.97 kB / 383.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.12, allocations: 4 kB / 383.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.12, allocations: 8 kB / 383.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.12, allocations: 4 kB / 383.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.12, allocations: 7.938 kB / 383.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.1219, allocations: 0.7107 MB / 384.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1221, allocations: 51.78 kB / 384.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.1221, allocations: 11.98 kB / 384.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.1225, allocations: 15.98 kB / 384.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.1226, allocations: 35.89 kB / 384.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.1226, allocations: 23.98 kB / 384.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.1227, allocations: 106.5 kB / 384.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1227, allocations: 0 / 384.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002855/0.1256, allocations: 0.9628 MB / 385.3 MB, free: 8.312 MB / 350.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.005164/0.1307, allocations: 1.39 MB / 386.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1319, allocations: 323.6 kB / 387 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1319, allocations: 4.438 kB / 387 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.1324, allocations: 171.8 kB / 387.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008127/0.1333, allocations: 100.1 kB / 387.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1347, allocations: 0.5657 MB / 387.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.1349, allocations: 133.8 kB / 388 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.1352, allocations: 82.17 kB / 388 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.1354, allocations: 48.47 kB / 388.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1354, allocations: 0 / 388.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.04596/0.1814, allocations: 30.19 MB / 418.3 MB, free: 7.316 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 6.220334529876709]