Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.37e-05, allocations: 6.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.275/0.2751, allocations: 130.3 MB / 397.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2771, allocations: 1.422 MB / 399 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.2772, allocations: 0 / 399 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.2775, allocations: 59.66 kB / 399.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.278, allocations: 159.7 kB / 399.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.2808, allocations: 1.061 MB / 400.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.2813, allocations: 334.7 kB / 400.6 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.2813, allocations: 5.641 kB / 400.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.2817, allocations: 199.5 kB / 400.8 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.2819, allocations: 115.7 kB / 401 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.282, allocations: 16 kB / 401 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.2844, allocations: 1.333 MB / 402.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2845, allocations: 75.78 kB / 402.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.2846, allocations: 71.89 kB / 402.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.2863, allocations: 1.095 MB / 403.5 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2863, allocations: 0 / 403.5 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2863, allocations: 0 / 403.5 MB, free: 360 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.2863, allocations: 0 / 403.5 MB, free: 360 kB / 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.001824/0.2881, allocations: 0.6058 MB / 404.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2882, allocations: 8.922 kB / 404.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.2884, allocations: 40.78 kB / 404.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.2886, allocations: 153.8 kB / 404.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2887, allocations: 16.27 kB / 404.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.2887, allocations: 16 kB / 404.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.2894, allocations: 364.2 kB / 404.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2895, allocations: 0 / 404.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.2895, allocations: 12 kB / 404.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.2895, allocations: 11.92 kB / 404.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.2904, allocations: 263.7 kB / 405 MB, free: 14.79 MB / 362.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.001497/0.2919, allocations: 0.6163 MB / 405.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.2926, allocations: 217.1 kB / 405.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.293, allocations: 127.1 kB / 406 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.2932, allocations: 47.97 kB / 406 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.2932, allocations: 38.56 kB / 406.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.2932, allocations: 0 / 406.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002719/0.2959, allocations: 0.6818 MB / 406.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.296, allocations: 89.05 kB / 406.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2961, allocations: 129.7 kB / 407 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2962, allocations: 29.7 kB / 407 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.2963, allocations: 108.9 kB / 407.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.2964, allocations: 126.9 kB / 407.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.2965, allocations: 73.59 kB / 407.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2967, allocations: 322.8 kB / 407.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.2971, allocations: 139.9 kB / 407.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.2976, allocations: 203.6 kB / 407.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.2986, allocations: 356.3 kB / 408.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2986, allocations: 8 kB / 408.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00112/0.2997, allocations: 424.5 kB / 408.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2997, allocations: 12.03 kB / 408.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2997, allocations: 0 / 408.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2997, allocations: 4 kB / 408.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.3003, allocations: 84.88 kB / 408.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3003, allocations: 7.938 kB / 408.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3006, allocations: 31.91 kB / 408.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.3007, allocations: 12 kB / 408.9 MB, free: 10.77 MB / 362.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.0001812/0.3008, allocations: 149.7 kB / 409 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3009, allocations: 27.91 kB / 409 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.3014, allocations: 175.8 kB / 409.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3014, allocations: 7.984 kB / 409.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3014, allocations: 4 kB / 409.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3014, allocations: 0 / 409.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3032, allocations: 0.6567 MB / 409.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3032, allocations: 0 / 409.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.3037, allocations: 83.81 kB / 409.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3037, allocations: 4 kB / 410 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3037, allocations: 11.98 kB / 410 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3037, allocations: 4 kB / 410 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.3037, allocations: 12.09 kB / 410 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3053, allocations: 0.7073 MB / 410.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3054, allocations: 43.89 kB / 410.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.3055, allocations: 8 kB / 410.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.3059, allocations: 23.97 kB / 410.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3059, allocations: 27.91 kB / 410.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.3059, allocations: 11.98 kB / 410.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.306, allocations: 96.02 kB / 410.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 0 / 410.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.3067, allocations: 147.7 kB / 411 MB, free: 8.484 MB / 362.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 (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.0005109/0.3072, allocations: 243.4 kB / 411.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00098/0.3082, allocations: 331.7 kB / 411.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3082, allocations: 0 / 411.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.3086, allocations: 173.7 kB / 411.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.3094, allocations: 115.4 kB / 411.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3111, allocations: 0.5415 MB / 412.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.3112, allocations: 128.9 kB / 412.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.3116, allocations: 73.89 kB / 412.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3117, allocations: 32.48 kB / 412.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.3117, allocations: 0 / 412.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of Templates: time 0.01243/0.3242, allocations: 6.053 MB / 418.7 MB, free: 0.8633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.749299808056094]