Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001452/0.001452, allocations: 88.31 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.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.001632/0.001632, allocations: 161.6 kB / 24.27 MB, free: 172 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.468/1.468, allocations: 177.1 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.258e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.202/0.202, allocations: 58.83 MB / 331.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008064/0.2101, allocations: 4.966 MB / 336.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2103, allocations: 7.938 kB / 336.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.2114, allocations: 333.8 kB / 336.5 MB, free: 460 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2124, allocations: 0.5433 MB / 337 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.2326, allocations: 7.533 MB / 344.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.2347, allocations: 1.559 MB / 346.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.235, allocations: 145.5 kB / 346.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.2363, allocations: 0.8455 MB / 347.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.2371, allocations: 0.5337 MB / 347.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2373, allocations: 84 kB / 347.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/0.2562, allocations: 9.585 MB / 357.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.2567, allocations: 347.1 kB / 357.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.2573, allocations: 335.4 kB / 358 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.2717, allocations: 7.163 MB / 365.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2717, allocations: 3.938 kB / 365.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2717, allocations: 0 / 365.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2718, allocations: 4 kB / 365.1 MB, free: 3.707 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003779/0.2755, allocations: 1.525 MB / 366.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2756, allocations: 8.031 kB / 366.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.2762, allocations: 160.1 kB / 366.8 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.2769, allocations: 395.6 kB / 367.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.277, allocations: 45.31 kB / 367.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.2771, allocations: 75.94 kB / 367.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.2794, allocations: 1.22 MB / 368.5 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.2794, allocations: 0 / 368.5 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.2795, allocations: 32 kB / 368.6 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2795, allocations: 12 kB / 368.6 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.2817, allocations: 1.016 MB / 369.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.2965, allocations: 4.069 MB / 373.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2983, allocations: 0.7086 MB / 374.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.299, allocations: 390.4 kB / 374.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.3109, allocations: 2.614 MB / 377.4 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.3109, allocations: 43.22 kB / 377.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.3109, allocations: 0 / 377.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.01083/0.3218, allocations: 3.201 MB / 380.6 MB, free: 3.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.3218, allocations: 64.41 kB / 380.7 MB, free: 3.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.3222, allocations: 309.7 kB / 381 MB, free: 3.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.3223, allocations: 45.64 kB / 381 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.3225, allocations: 245.1 kB / 381.3 MB, free: 3.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3229, allocations: 321.2 kB / 381.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.3231, allocations: 158.6 kB / 381.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3234, allocations: 358.8 kB / 382.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.324, allocations: 369.8 kB / 382.4 MB, free: 2.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.325, allocations: 492.2 kB / 382.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.327, allocations: 0.9021 MB / 383.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.327, allocations: 0 / 383.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00301/0.33, allocations: 1.222 MB / 385 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.33, allocations: 4 kB / 385.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.33, allocations: 4 kB / 385.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.3309, allocations: 167.3 kB / 385.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.3317, allocations: 196 kB / 385.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/0.3356, allocations: 3.872 MB / 389.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.336, allocations: 20 kB / 389.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3361, allocations: 43.98 kB / 389.3 MB, free: 10.83 MB / 346.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004002/0.3365, allocations: 221.6 kB / 389.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/0.3371, allocations: 154.9 kB / 389.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.3398, allocations: 1.27 MB / 391 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3398, allocations: 12.05 kB / 391 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3398, allocations: 4 kB / 391 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002179/0.342, allocations: 1.324 MB / 392.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.3455, allocations: 1.73 MB / 394.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3455, allocations: 0 / 394.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.3463, allocations: 163.8 kB / 394.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.3482, allocations: 301.3 kB / 394.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.3483, allocations: 39.91 kB / 394.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.3496, allocations: 1.285 MB / 395.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3496, allocations: 3.938 kB / 395.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.3527, allocations: 1.499 MB / 397.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3529, allocations: 47.66 kB / 397.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.353, allocations: 16.06 kB / 397.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.3535, allocations: 27.98 kB / 397.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3536, allocations: 69.02 kB / 397.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.3538, allocations: 43.97 kB / 397.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.3541, allocations: 239 kB / 397.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3541, allocations: 0 / 397.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003991/0.3581, allocations: 1.423 MB / 399.2 MB, free: 0.6758 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006605/0.3647, allocations: 1.914 MB / 401.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.3672, allocations: 1.108 MB / 402.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3672, allocations: 4 kB / 402.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3682, allocations: 475.1 kB / 402.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.37, allocations: 358.3 kB / 403 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.373, allocations: 1.514 MB / 404.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3734, allocations: 317.8 kB / 404.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006974/0.3741, allocations: 190.8 kB / 405 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.3743, allocations: 72.47 kB / 405.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3743, allocations: 0 / 405.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.1716/0.5459, allocations: 49.63 MB / 454.7 MB, free: 118.9 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.070357119082473]