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.0009008/0.0009008, allocations: 88.33 kB / 21.44 MB, free: 3.105 MB / 18.57 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.001163/0.001163, allocations: 151.8 kB / 24.69 MB, free: 9.441 MB / 18.57 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 0.8665/0.8665, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.383e-06/1.383e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.617e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01921/0.01924, allocations: 24.01 MB / 349.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.02114, allocations: 2.017 MB / 351.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.02121, allocations: 4 kB / 351.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.02153, allocations: 55.67 kB / 351.9 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.02184, allocations: 170.8 kB / 352 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.03284, allocations: 6.571 MB / 358.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.03322, allocations: 342.5 kB / 358.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.03326, allocations: 9.797 kB / 358.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.03346, allocations: 183.6 kB / 359.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.03362, allocations: 119.7 kB / 359.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.03365, allocations: 12 kB / 359.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.04536, allocations: 9.013 MB / 368.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.04549, allocations: 75.78 kB / 368.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.04564, allocations: 79.83 kB / 368.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.05778, allocations: 5.897 MB / 374.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.05779, allocations: 0 / 374.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.05779, allocations: 0 / 374.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.05779, allocations: 3.938 kB / 374.3 MB, free: 14.69 MB / 346.7 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.00289/0.06068, allocations: 1.094 MB / 375.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.06073, allocations: 19.92 kB / 375.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.06086, allocations: 28.2 kB / 375.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.06108, allocations: 160.9 kB / 375.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.06109, allocations: 12.33 kB / 375.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.06113, allocations: 19.95 kB / 375.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.06164, allocations: 400.2 kB / 376 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.06165, allocations: 0 / 376 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.06167, allocations: 8 kB / 376 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.06169, allocations: 8 kB / 376.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.06215, allocations: 311.7 kB / 376.4 MB, free: 12.55 MB / 346.7 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.001043/0.06319, allocations: 0.6518 MB / 377 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.06362, allocations: 249.1 kB / 377.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.06379, allocations: 121.6 kB / 377.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005402/0.06919, allocations: 2.69 MB / 380.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.06922, allocations: 46.44 kB / 380.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.06922, allocations: 0 / 380.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001609/0.07083, allocations: 0.703 MB / 380.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.07087, allocations: 81.11 kB / 380.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.07096, allocations: 145.8 kB / 381 MB, free: 7.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.07099, allocations: 29.7 kB / 381.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.07104, allocations: 120.9 kB / 381.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.07112, allocations: 134.8 kB / 381.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.0712, allocations: 69.64 kB / 381.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.07128, allocations: 334.8 kB / 381.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.07149, allocations: 127.9 kB / 381.8 MB, free: 6.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.07175, allocations: 211.6 kB / 382 MB, free: 6.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.07225, allocations: 362.4 kB / 382.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.07225, allocations: 0 / 382.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006209/0.07287, allocations: 425.1 kB / 382.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.07289, allocations: 4 kB / 382.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0729, allocations: 4 kB / 382.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.07292, allocations: 8 kB / 382.8 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.07315, allocations: 96.08 kB / 382.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.07316, allocations: 7.938 kB / 382.9 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.07329, allocations: 23.94 kB / 382.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.07332, allocations: 23.92 kB / 383 MB, free: 5.742 MB / 346.7 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.0001031/0.07342, allocations: 137.8 kB / 383.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.0735, allocations: 23.89 kB / 383.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.07379, allocations: 186.8 kB / 383.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.07379, allocations: 4 kB / 383.3 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.0738, allocations: 4 kB / 383.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0738, allocations: 0 / 383.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.07474, allocations: 0.6812 MB / 384 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.07474, allocations: 0 / 384 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.07494, allocations: 87.97 kB / 384.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.07494, allocations: 4 kB / 384.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.07496, allocations: 8 kB / 384.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.07496, allocations: 7.938 kB / 384.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.07496, allocations: 0 / 384.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.07581, allocations: 0.7141 MB / 384.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.0759, allocations: 51.73 kB / 384.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.07592, allocations: 8 kB / 384.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.07609, allocations: 27.92 kB / 384.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.07612, allocations: 23.95 kB / 384.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.07614, allocations: 20.05 kB / 384.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.0762, allocations: 114.5 kB / 385.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0762, allocations: 0 / 385.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002/0.0782, allocations: 0.9589 MB / 386 MB, free: 2.582 MB / 346.7 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.00316/0.08136, allocations: 1.394 MB / 387.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.08205, allocations: 339.1 kB / 387.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08205, allocations: 448 / 387.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.08231, allocations: 171.7 kB / 387.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.08278, allocations: 104.1 kB / 388 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.08378, allocations: 0.5939 MB / 388.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.08389, allocations: 133.8 kB / 388.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.08403, allocations: 52.41 kB / 388.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.374e-06/0.08403, allocations: 0 / 388.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Templates: time 0.02368/0.1077, allocations: 20.48 MB / 409.3 MB, free: 11.24 MB / 378.7 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.486475239507854]