Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00354/0.00354, allocations: 161.2 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8278/0.8278, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.404e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2795/0.2795, allocations: 133.3 MB / 459.1 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2809, allocations: 1.442 MB / 460.6 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.281, allocations: 0 / 460.6 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.2814, allocations: 53.52 kB / 460.6 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.2817, allocations: 177.1 kB / 460.8 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.284, allocations: 1.072 MB / 461.9 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.2844, allocations: 361.9 kB / 462.2 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.2845, allocations: 12.09 kB / 462.2 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.2848, allocations: 208 kB / 462.4 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.285, allocations: 121.1 kB / 462.5 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.285, allocations: 14.28 kB / 462.6 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.2869, allocations: 1.377 MB / 463.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.287, allocations: 78.62 kB / 464 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2872, allocations: 75.09 kB / 464.1 MB, free: 5.832 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.2887, allocations: 1.135 MB / 465.2 MB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2887, allocations: 0 / 465.2 MB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2887, allocations: 0 / 465.2 MB, free: 5.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2887, allocations: 2.844 kB / 465.2 MB, free: 5.77 MB / 410.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.001238/0.2899, allocations: 0.6308 MB / 465.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.29, allocations: 9.625 kB / 465.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2901, allocations: 23.41 kB / 465.9 MB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.2903, allocations: 164.8 kB / 466 MB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2903, allocations: 20.55 kB / 466.1 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.2903, allocations: 17.86 kB / 466.1 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.2907, allocations: 368.6 kB / 466.4 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2907, allocations: 0 / 466.4 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2908, allocations: 9.938 kB / 466.5 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.2908, allocations: 7.469 kB / 466.5 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.2911, allocations: 263.8 kB / 466.7 MB, free: 5.031 MB / 410.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.0008405/0.292, allocations: 0.6225 MB / 467.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.2923, allocations: 210.7 kB / 467.5 MB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.2925, allocations: 129.2 kB / 467.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.2926, allocations: 57.22 kB / 467.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.2927, allocations: 36 kB / 467.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.2927, allocations: 2.344 kB / 467.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001269/0.2939, allocations: 0.6909 MB / 468.5 MB, free: 4.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.294, allocations: 80.11 kB / 468.5 MB, free: 4.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.294, allocations: 144.3 kB / 468.7 MB, free: 4.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2941, allocations: 29.58 kB / 468.7 MB, free: 4.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.2941, allocations: 114.4 kB / 468.8 MB, free: 4.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.2941, allocations: 131.6 kB / 468.9 MB, free: 4.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.2942, allocations: 73.27 kB / 469 MB, free: 4.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.2943, allocations: 327.4 kB / 469.3 MB, free: 3.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2944, allocations: 136.4 kB / 469.5 MB, free: 3.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2946, allocations: 207.1 kB / 469.7 MB, free: 3.664 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.2951, allocations: 362.6 kB / 470 MB, free: 3.586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2951, allocations: 0 / 470 MB, free: 3.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004888/0.2956, allocations: 407.7 kB / 470.4 MB, free: 3.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2956, allocations: 7.781 kB / 470.4 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2956, allocations: 5.766 kB / 470.4 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2956, allocations: 7.719 kB / 470.4 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2958, allocations: 88.47 kB / 470.5 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2958, allocations: 3.406 kB / 470.5 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2959, allocations: 27 kB / 470.6 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.296, allocations: 18.31 kB / 470.6 MB, free: 3.527 MB / 410.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 8.305e-05/0.2961, allocations: 147.5 kB / 470.7 MB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.2961, allocations: 19.12 kB / 470.7 MB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2963, allocations: 182.2 kB / 470.9 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2963, allocations: 7.438 kB / 470.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2963, allocations: 0 / 470.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2963, allocations: 0.625 kB / 470.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.2972, allocations: 0.6716 MB / 471.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2972, allocations: 9 kB / 471.6 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2973, allocations: 77.5 kB / 471.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2974, allocations: 7.25 kB / 471.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2974, allocations: 8.531 kB / 471.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2974, allocations: 3.922 kB / 471.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2974, allocations: 12.5 kB / 471.7 MB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.2981, allocations: 0.7004 MB / 472.4 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.2981, allocations: 56.75 kB / 472.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.2982, allocations: 6.594 kB / 472.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2983, allocations: 24.77 kB / 472.5 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.2984, allocations: 28.08 kB / 472.5 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.2984, allocations: 17.39 kB / 472.5 MB, free: 2.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.2984, allocations: 105.3 kB / 472.6 MB, free: 2.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2984, allocations: 0 / 472.6 MB, free: 2.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.2988, allocations: 152.3 kB / 472.8 MB, free: 2.664 MB / 410.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.0003591/0.2992, allocations: 258.4 kB / 473 MB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.2997, allocations: 323.2 kB / 473.4 MB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2997, allocations: 0 / 473.4 MB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.2999, allocations: 179.9 kB / 473.5 MB, free: 2.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3003, allocations: 103.1 kB / 473.6 MB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.3011, allocations: 0.602 MB / 474.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.3012, allocations: 131.8 kB / 474.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3013, allocations: 37.23 kB / 474.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3013, allocations: 4 kB / 474.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of Templates: time 0.004952/0.3062, allocations: 4.921 MB / 479.3 MB, free: 1.633 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.634866691194475]