Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001666/0.001666, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002059/0.002059, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.427/1.427, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 43.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2327, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02901/0.2617, allocations: 27.35 MB / 448.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.2669, allocations: 4.198 MB / 452.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.2672, allocations: 4 kB / 452.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006742/0.2679, allocations: 210.7 kB / 452.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.2687, allocations: 346.1 kB / 453 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.2727, allocations: 1.474 MB / 454.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.2738, allocations: 0.8912 MB / 455.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.274, allocations: 84.62 kB / 455.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/0.28, allocations: 4.115 MB / 459.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.2804, allocations: 294.9 kB / 459.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.2804, allocations: 32 kB / 459.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2818, allocations: 0.7259 MB / 460.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2819, allocations: 99.59 kB / 460.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2821, allocations: 195.2 kB / 460.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2832, allocations: 0.853 MB / 461.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2832, allocations: 0 / 461.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2832, allocations: 0 / 461.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2832, allocations: 0 / 461.7 MB, free: 6.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009201/0.2841, allocations: 0.662 MB / 462.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2841, allocations: 8.031 kB / 462.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.2846, allocations: 56.72 kB / 462.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.285, allocations: 296.3 kB / 462.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.285, allocations: 20.94 kB / 462.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.2851, allocations: 28.38 kB / 462.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.2856, allocations: 338.6 kB / 463.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2856, allocations: 11.86 kB / 463.1 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.2856, allocations: 16 kB / 463.1 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2856, allocations: 8 kB / 463.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.286, allocations: 206 kB / 463.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.2991, allocations: 5.904 MB / 469.3 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.2994, allocations: 174.6 kB / 469.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2996, allocations: 80.84 kB / 469.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.3104, allocations: 3.885 MB / 473.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3105, allocations: 34.56 kB / 473.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.3105, allocations: 0 / 473.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006375/0.3168, allocations: 1.414 MB / 474.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3169, allocations: 59.39 kB / 474.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.3172, allocations: 258.6 kB / 475.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3172, allocations: 37.64 kB / 475.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3173, allocations: 184.4 kB / 475.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.3174, allocations: 99.16 kB / 475.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3175, allocations: 65.7 kB / 475.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3177, allocations: 334.8 kB / 475.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.3178, allocations: 99.73 kB / 475.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3181, allocations: 187.1 kB / 476.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3185, allocations: 303 kB / 476.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3185, allocations: 0 / 476.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007016/0.3192, allocations: 407 kB / 476.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3192, allocations: 4 kB / 476.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3192, allocations: 4 kB / 476.8 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/0.3235, allocations: 0.9352 MB / 477.8 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3237, allocations: 67.91 kB / 477.8 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3255, allocations: 1.974 MB / 479.8 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3256, allocations: 16.19 kB / 479.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3257, allocations: 15.94 kB / 479.8 MB, free: 2.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.3258, allocations: 163.9 kB / 480 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.3259, allocations: 27.8 kB / 480 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.3267, allocations: 488.9 kB / 480.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3267, allocations: 4 kB / 480.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.3267, allocations: 0 / 480.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000723/0.3274, allocations: 0.7348 MB / 481.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3287, allocations: 0.942 MB / 482.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3287, allocations: 4 kB / 482.2 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.3289, allocations: 43.91 kB / 482.2 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.3307, allocations: 320.5 kB / 482.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3307, allocations: 4 kB / 482.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005825/0.3313, allocations: 0.6421 MB / 483.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3313, allocations: 0 / 483.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3324, allocations: 0.7328 MB / 483.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.3325, allocations: 101 kB / 484 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3326, allocations: 11.98 kB / 484 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3328, allocations: 8 kB / 484 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.3328, allocations: 11.98 kB / 484.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3329, allocations: 15.98 kB / 484.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3331, allocations: 182 kB / 484.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3331, allocations: 4 kB / 484.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00066/0.3337, allocations: 191.7 kB / 484.4 MB, free: 13.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005603/0.3343, allocations: 270.8 kB / 484.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.3351, allocations: 443.1 kB / 485.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3351, allocations: 0 / 485.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.3357, allocations: 231.7 kB / 485.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.3366, allocations: 176.2 kB / 485.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.338, allocations: 0.7914 MB / 486.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3384, allocations: 0.7799 MB / 487.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.3386, allocations: 50.94 kB / 487.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.3387, allocations: 31.42 kB / 487.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3387, allocations: 0 / 487.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.01713/0.3558, allocations: 10.2 MB / 497.4 MB, free: 0.9219 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.49226457439363]