Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.00189/0.00189, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 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.002216/0.002216, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 47.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09705, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2249/0.3219, allocations: 37.7 MB / 464.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.328, allocations: 4.593 MB / 469.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.3283, allocations: 13.44 kB / 469.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008698/0.3292, allocations: 301.8 kB / 469.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009041/0.3301, allocations: 491.4 kB / 469.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.3346, allocations: 1.636 MB / 471.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3361, allocations: 1.269 MB / 472.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.3364, allocations: 134.1 kB / 472.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.3371, allocations: 489.7 kB / 473.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.3376, allocations: 426.2 kB / 473.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.3377, allocations: 45.31 kB / 473.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3393, allocations: 0.7637 MB / 474.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.3395, allocations: 144.6 kB / 474.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.3398, allocations: 277.4 kB / 475 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3412, allocations: 1.05 MB / 476.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3412, allocations: 1.062 kB / 476.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3412, allocations: 4 kB / 476.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3412, allocations: 3.938 kB / 476.1 MB, free: 11.06 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001275/0.3425, allocations: 0.7874 MB / 476.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3425, allocations: 9.375 kB / 476.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006105/0.3432, allocations: 78.72 kB / 477 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.3437, allocations: 344.4 kB / 477.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3438, allocations: 33.81 kB / 477.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3438, allocations: 37.81 kB / 477.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.3446, allocations: 474.1 kB / 477.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3446, allocations: 6.094 kB / 477.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.3447, allocations: 16.62 kB / 477.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3447, allocations: 10.09 kB / 477.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.3452, allocations: 307.1 kB / 478.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.3598, allocations: 6.74 MB / 484.9 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.3603, allocations: 262.6 kB / 485.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.3606, allocations: 151 kB / 485.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.3718, allocations: 3.875 MB / 489.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.3719, allocations: 41.16 kB / 489.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/0.3719, allocations: 0 / 489.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01309/0.385, allocations: 2.449 MB / 491.7 MB, free: 14.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.385, allocations: 63.34 kB / 491.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.3854, allocations: 303.3 kB / 492 MB, free: 14.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3854, allocations: 33.64 kB / 492.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3856, allocations: 240.4 kB / 492.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3858, allocations: 162.6 kB / 492.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3859, allocations: 98.19 kB / 492.6 MB, free: 13.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3861, allocations: 346.8 kB / 492.9 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3864, allocations: 153.1 kB / 493.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.3868, allocations: 279.7 kB / 493.3 MB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.3875, allocations: 472.3 kB / 493.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3875, allocations: 5.125 kB / 493.8 MB, free: 12.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001185/0.3887, allocations: 0.5918 MB / 494.4 MB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3887, allocations: 7.938 kB / 494.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3887, allocations: 4.469 kB / 494.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008651/0.3974, allocations: 1.851 MB / 496.2 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.3978, allocations: 107.8 kB / 496.4 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.4002, allocations: 2.571 MB / 498.9 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.4005, allocations: 16.12 kB / 498.9 MB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.4006, allocations: 20 kB / 499 MB, free: 7.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.4008, allocations: 177.7 kB / 499.1 MB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4009, allocations: 43.7 kB / 499.2 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4023, allocations: 0.8437 MB / 0.4883 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.4023, allocations: 11.98 kB / 0.4883 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4023, allocations: 4 kB / 0.4883 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.4035, allocations: 0.9611 MB / 0.4893 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.4057, allocations: 1.478 MB / 0.4907 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4058, allocations: 0 / 0.4907 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4061, allocations: 75.91 kB / 0.4908 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/0.4097, allocations: 0.6179 MB / 0.4914 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.4098, allocations: 12 kB / 0.4914 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.4109, allocations: 1.288 MB / 0.4926 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.411, allocations: 3.938 kB / 0.4926 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.4127, allocations: 1.218 MB / 0.4938 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.4129, allocations: 128.7 kB / 0.494 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.413, allocations: 8 kB / 0.494 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4132, allocations: 8 kB / 0.494 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.4133, allocations: 35.89 kB / 0.494 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.4133, allocations: 19.98 kB / 0.494 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.4136, allocations: 206 kB / 0.4942 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4136, allocations: 4 kB / 0.4942 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.4145, allocations: 235.7 kB / 0.4945 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000703/0.4152, allocations: 269.7 kB / 0.4947 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4166, allocations: 0.6754 MB / 0.4954 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4166, allocations: 0 / 0.4954 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4176, allocations: 432 kB / 0.4958 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4189, allocations: 241.8 kB / 0.496 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.421, allocations: 1.234 MB / 0.4972 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.4214, allocations: 0.8363 MB / 0.498 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.4217, allocations: 68.34 kB / 0.4981 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.4218, allocations: 43.42 kB / 0.4981 GB, free: 11.56 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4218, allocations: 3.938 kB / 0.4981 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.0233/0.4451, allocations: 12.86 MB / 0.5107 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.3421772718429565]