Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.001783/0.001783, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002425/0.002425, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.477/1.477, allocations: 230.5 MB / 258.1 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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.89 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2546, allocations: 53.41 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4301/0.6846, allocations: 133.3 MB / 0.5524 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.6863, allocations: 1.433 MB / 0.5538 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.6864, allocations: 4 kB / 0.5538 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.6868, allocations: 57.2 kB / 0.5538 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.6872, allocations: 170.9 kB / 0.554 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.6899, allocations: 1.05 MB / 0.555 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.6904, allocations: 358.4 kB / 0.5554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.6904, allocations: 9.859 kB / 0.5554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.6907, allocations: 164.2 kB / 0.5555 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.691, allocations: 137.7 kB / 0.5557 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.691, allocations: 12.75 kB / 0.5557 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.6935, allocations: 1.362 MB / 0.557 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.6936, allocations: 76.88 kB / 0.5571 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.6938, allocations: 89.75 kB / 0.5572 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.6955, allocations: 0.9959 MB / 0.5581 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6955, allocations: 0 / 0.5581 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6955, allocations: 0 / 0.5581 GB, free: 15.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.6955, allocations: 0 / 0.5581 GB, free: 15.56 MB / 462.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.001879/0.6974, allocations: 0.6312 MB / 0.5588 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6974, allocations: 15.14 kB / 0.5588 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.6976, allocations: 23.47 kB / 0.5588 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.6979, allocations: 171.3 kB / 0.559 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6979, allocations: 9.609 kB / 0.559 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.6979, allocations: 19.2 kB / 0.559 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.6985, allocations: 365.9 kB / 0.5593 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.6985, allocations: 0 / 0.5593 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.6986, allocations: 9.812 kB / 0.5593 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6986, allocations: 5.219 kB / 0.5593 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.6992, allocations: 268.1 kB / 0.5596 GB, free: 14.82 MB / 462.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.00141/0.7006, allocations: 0.6167 MB / 0.5602 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.7012, allocations: 211.1 kB / 0.5604 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.7015, allocations: 127.8 kB / 0.5605 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.7017, allocations: 49.58 kB / 0.5606 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.7017, allocations: 45.66 kB / 0.5606 GB, free: 14.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.555e-06/0.7017, allocations: 0 / 0.5606 GB, free: 14.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002356/0.7041, allocations: 0.6894 MB / 0.5613 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.7042, allocations: 82.23 kB / 0.5614 GB, free: 14.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.7043, allocations: 140.6 kB / 0.5615 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.7043, allocations: 31.58 kB / 0.5615 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.7044, allocations: 114 kB / 0.5616 GB, free: 13.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.7045, allocations: 135.9 kB / 0.5618 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.7047, allocations: 73.22 kB / 0.5618 GB, free: 13.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7048, allocations: 326.1 kB / 0.5622 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.7052, allocations: 133.2 kB / 0.5623 GB, free: 13.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.7056, allocations: 204.7 kB / 0.5625 GB, free: 13.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.7063, allocations: 363.7 kB / 0.5628 GB, free: 13.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7063, allocations: 4 kB / 0.5628 GB, free: 13.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008932/0.7072, allocations: 413.9 kB / 0.5632 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7072, allocations: 7.656 kB / 0.5632 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7072, allocations: 2.844 kB / 0.5632 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.7073, allocations: 4.938 kB / 0.5632 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.7077, allocations: 84.92 kB / 0.5633 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7078, allocations: 5.156 kB / 0.5633 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.7081, allocations: 27.98 kB / 0.5634 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.7081, allocations: 17.58 kB / 0.5634 GB, free: 13.32 MB / 462.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.0001713/0.7083, allocations: 153 kB / 0.5635 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.7084, allocations: 18.69 kB / 0.5635 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.7087, allocations: 184.1 kB / 0.5637 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.7087, allocations: 9.094 kB / 0.5637 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7087, allocations: 2.344 kB / 0.5637 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.7087, allocations: 3.219 kB / 0.5637 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.7104, allocations: 0.6694 MB / 0.5644 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.7104, allocations: 0 / 0.5644 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.7108, allocations: 77.16 kB / 0.5644 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.7108, allocations: 6.781 kB / 0.5645 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.7109, allocations: 18.94 kB / 0.5645 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.7109, allocations: 5.812 kB / 0.5645 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7109, allocations: 0 / 0.5645 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.7123, allocations: 0.716 MB / 0.5652 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.7124, allocations: 47.38 kB / 0.5652 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.7125, allocations: 19.42 kB / 0.5652 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.7128, allocations: 19.14 kB / 0.5653 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.7128, allocations: 30.34 kB / 0.5653 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.7129, allocations: 16.25 kB / 0.5653 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.713, allocations: 102.9 kB / 0.5654 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.713, allocations: 0 / 0.5654 GB, free: 12.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006424/0.7136, allocations: 153.2 kB / 0.5655 GB, free: 12.44 MB / 462.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 (38): * Single equations (assignments): 38 * 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.0004911/0.7141, allocations: 243.6 kB / 0.5658 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.715, allocations: 337.4 kB / 0.5661 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.715, allocations: 0 / 0.5661 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.7154, allocations: 169.9 kB / 0.5663 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.7161, allocations: 108.2 kB / 0.5664 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.7175, allocations: 0.6644 MB / 0.567 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.7177, allocations: 136.2 kB / 0.5671 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.7178, allocations: 43.11 kB / 0.5672 GB, free: 11.82 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7178, allocations: 0 / 0.5672 GB, free: 11.82 MB / 462.1 MB Notification: Performance of Templates: time 0.007295/0.7251, allocations: 4.89 MB / 0.572 GB, free: 11.36 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.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: 7.993877009022981]