Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001774/0.001774, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002179/0.002179, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 62.58 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2442, allocations: 49.14 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02468/0.2688, allocations: 24.49 MB / 421.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.2743, allocations: 3.778 MB / 425.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.2747, allocations: 7.406 kB / 425.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.2754, allocations: 190.2 kB / 425.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.2762, allocations: 345.5 kB / 425.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.2807, allocations: 1.451 MB / 427.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.282, allocations: 0.9044 MB / 428 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.2822, allocations: 77.8 kB / 428.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007111/0.2893, allocations: 4.131 MB / 432.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.2898, allocations: 270.9 kB / 432.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.661e-05/0.2899, allocations: 32 kB / 432.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.2914, allocations: 0.6984 MB / 433.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.2915, allocations: 103.6 kB / 433.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.2918, allocations: 167.4 kB / 433.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2932, allocations: 0.853 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2932, allocations: 0 / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2932, allocations: 0 / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.2932, allocations: 4 kB / 434.3 MB, free: 13.65 MB / 350.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.001056/0.2943, allocations: 0.5906 MB / 434.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2943, allocations: 11.98 kB / 434.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.2948, allocations: 52.73 kB / 435 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.2953, allocations: 230 kB / 435.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.2953, allocations: 21.03 kB / 435.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.2953, allocations: 28.38 kB / 435.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.296, allocations: 0.4901 MB / 435.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.296, allocations: 3.938 kB / 435.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.296, allocations: 12 kB / 435.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.296, allocations: 8 kB / 435.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.2964, allocations: 209.8 kB / 436 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3089, allocations: 4.079 MB / 440.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.3092, allocations: 174.6 kB / 440.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3094, allocations: 80.83 kB / 440.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.3197, allocations: 2.684 MB / 443 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.3198, allocations: 38.55 kB / 443 MB, free: 4.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.185e-06/0.3198, allocations: 0 / 443 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006419/0.3262, allocations: 1.256 MB / 444.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3263, allocations: 59.34 kB / 444.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3266, allocations: 236 kB / 444.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.3266, allocations: 29.7 kB / 444.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3268, allocations: 196.3 kB / 444.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.3268, allocations: 103.2 kB / 444.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.327, allocations: 61.66 kB / 445 MB, free: 2.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3271, allocations: 338.8 kB / 445.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.3273, allocations: 91.75 kB / 445.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3276, allocations: 198.8 kB / 445.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.328, allocations: 299 kB / 445.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.328, allocations: 7.938 kB / 445.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007511/0.3288, allocations: 390.9 kB / 446.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3288, allocations: 8 kB / 446.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3288, allocations: 384 / 446.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.333, allocations: 0.9416 MB / 447.2 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3333, allocations: 63.91 kB / 447.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.3351, allocations: 1.851 MB / 449.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3353, allocations: 8 kB / 449.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3353, allocations: 19.98 kB / 449.1 MB, free: 14.3 MB / 366.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.0002031/0.3355, allocations: 157.9 kB / 449.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.3356, allocations: 31.8 kB / 449.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/0.3364, allocations: 498.4 kB / 449.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.3364, allocations: 11.94 kB / 449.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3364, allocations: 0 / 449.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008217/0.3373, allocations: 0.7208 MB / 450.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3386, allocations: 0.8442 MB / 451.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3386, allocations: 0 / 451.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3388, allocations: 55.94 kB / 451.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.3405, allocations: 320.3 kB / 451.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3405, allocations: 11.98 kB / 451.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.3411, allocations: 0.6422 MB / 452.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3411, allocations: 0 / 452.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3422, allocations: 0.741 MB / 453.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3422, allocations: 27.77 kB / 453.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3422, allocations: 7.938 kB / 453.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3424, allocations: 11.98 kB / 453.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3425, allocations: 15.97 kB / 453.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3425, allocations: 12 kB / 453.2 MB, free: 10 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.3427, allocations: 165.8 kB / 453.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3427, allocations: 0 / 453.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007338/0.3434, allocations: 183.7 kB / 453.6 MB, free: 9.66 MB / 366.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.0005818/0.344, allocations: 270.8 kB / 453.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.3448, allocations: 434.3 kB / 454.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3448, allocations: 0.75 kB / 454.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005507/0.3454, allocations: 235.8 kB / 454.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.3462, allocations: 141.5 kB / 454.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3476, allocations: 0.8058 MB / 455.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3477, allocations: 168.2 kB / 455.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.3479, allocations: 46.94 kB / 455.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.348, allocations: 27.44 kB / 455.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.348, allocations: 0 / 455.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of Templates: time 0.01788/0.3659, allocations: 9.82 MB / 465.5 MB, free: 13.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.647976119071245]