Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001932/0.001932, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002247/0.002247, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.499/1.499, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.812e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1757/0.1757, allocations: 45.42 MB / 317.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005956/0.1817, allocations: 4.691 MB / 322.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1819, allocations: 9.094 kB / 322.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.1828, allocations: 229.2 kB / 322.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009021/0.1837, allocations: 385.2 kB / 323 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01958/0.2033, allocations: 7.203 MB / 330.2 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.205, allocations: 1.103 MB / 331.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.2052, allocations: 90.72 kB / 331.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007386/0.2126, allocations: 3.778 MB / 335.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.2132, allocations: 374.9 kB / 335.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.2133, allocations: 56 kB / 335.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.232, allocations: 9.356 MB / 345 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.2325, allocations: 235.4 kB / 345.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.233, allocations: 247.6 kB / 345.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.2495, allocations: 6.715 MB / 352.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2495, allocations: 0 / 352.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2495, allocations: 0 / 352.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2495, allocations: 4 kB / 352.2 MB, free: 0.6758 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004357/0.2538, allocations: 1.315 MB / 353.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2539, allocations: 12.03 kB / 353.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.2543, allocations: 115.4 kB / 353.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.2549, allocations: 313 kB / 353.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.255, allocations: 36.88 kB / 354 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2551, allocations: 48 kB / 354 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2567, allocations: 0.8933 MB / 354.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2567, allocations: 0 / 354.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.2567, allocations: 23.98 kB / 354.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2568, allocations: 15.06 kB / 354.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2582, allocations: 0.7378 MB / 355.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.2718, allocations: 3.584 MB / 359.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2733, allocations: 0.5019 MB / 359.8 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.2737, allocations: 246.1 kB / 360 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.2851, allocations: 2.563 MB / 362.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.2852, allocations: 43.06 kB / 362.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.545e-06/0.2852, allocations: 0 / 362.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.006312/0.2915, allocations: 1.926 MB / 364.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2915, allocations: 59.91 kB / 364.6 MB, free: 4.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.2919, allocations: 269.6 kB / 364.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.2919, allocations: 37.7 kB / 364.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.2921, allocations: 213.2 kB / 365.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.2923, allocations: 202.2 kB / 365.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.2925, allocations: 114.3 kB / 365.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.2927, allocations: 346.7 kB / 365.8 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.2933, allocations: 237.2 kB / 366 MB, free: 2.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.2943, allocations: 344.3 kB / 366.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.2962, allocations: 0.6007 MB / 366.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2962, allocations: 0 / 366.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002366/0.2985, allocations: 0.8115 MB / 367.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2985, allocations: 8 kB / 367.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2986, allocations: 0 / 367.7 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.2991, allocations: 110.7 kB / 367.9 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.2997, allocations: 123.9 kB / 368 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.303, allocations: 3.236 MB / 371.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3033, allocations: 12 kB / 371.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.3034, allocations: 31.98 kB / 371.3 MB, free: 13.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.3037, allocations: 185.7 kB / 371.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.3041, allocations: 103.3 kB / 371.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3059, allocations: 0.829 MB / 372.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.306, allocations: 4 kB / 372.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.306, allocations: 0 / 372.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.3074, allocations: 0.7611 MB / 373.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.3099, allocations: 1.128 MB / 374.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3099, allocations: 0 / 374.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.3104, allocations: 95.89 kB / 374.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.3115, allocations: 152.7 kB / 374.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.3115, allocations: 19.98 kB / 374.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005514/0.3121, allocations: 0.6445 MB / 375.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3121, allocations: 4.031 kB / 375.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.3141, allocations: 0.9538 MB / 376.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.3141, allocations: 31.81 kB / 376.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.3142, allocations: 12 kB / 376.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.3146, allocations: 19.98 kB / 376.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.3147, allocations: 44.3 kB / 376.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.3148, allocations: 31.98 kB / 376.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.315, allocations: 213.2 kB / 376.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.315, allocations: 0 / 376.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004346/0.3194, allocations: 1.337 MB / 377.8 MB, free: 6.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006675/0.3261, allocations: 1.87 MB / 379.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.3279, allocations: 0.7778 MB / 380.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3279, allocations: 0 / 380.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.3285, allocations: 279.5 kB / 380.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.3298, allocations: 250.2 kB / 381 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.3321, allocations: 1.006 MB / 382 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3324, allocations: 233.4 kB / 382.2 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004856/0.3329, allocations: 137 kB / 382.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3331, allocations: 60.41 kB / 382.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3331, allocations: 0 / 382.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of Templates: time 0.07251/0.4056, allocations: 44.59 MB / 427 MB, free: 5.137 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 12.948494084994309]