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.001385/0.001385, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00169/0.00169, allocations: 209 kB / 24.48 MB, free: 3.938 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001835/0.001835, allocations: 43.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04088/0.3009, allocations: 34 MB / 466.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.307, allocations: 4.171 MB / 470.5 MB, free: 404 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.3074, allocations: 7.938 kB / 470.5 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.3083, allocations: 282.2 kB / 470.8 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3094, allocations: 497.3 kB / 471.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.3144, allocations: 1.626 MB / 472.9 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3162, allocations: 1.288 MB / 474.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.3165, allocations: 118.9 kB / 474.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.3173, allocations: 494.4 kB / 474.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.318, allocations: 410.3 kB / 475.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.3181, allocations: 48 kB / 475.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.3198, allocations: 0.7259 MB / 476 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.32, allocations: 147.5 kB / 476.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.3202, allocations: 227.2 kB / 476.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3219, allocations: 1.059 MB / 477.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3219, allocations: 0 / 477.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3219, allocations: 0 / 477.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3219, allocations: 4 kB / 477.4 MB, free: 9.488 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.001239/0.3231, allocations: 0.7152 MB / 478.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3232, allocations: 12.03 kB / 478.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.3238, allocations: 80.62 kB / 478.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.3244, allocations: 281.8 kB / 478.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.3244, allocations: 29.38 kB / 478.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.3245, allocations: 36.38 kB / 478.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/0.3254, allocations: 0.6653 MB / 479.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.3254, allocations: 7.984 kB / 479.2 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.3254, allocations: 16 kB / 479.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3254, allocations: 12 kB / 479.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.326, allocations: 303.7 kB / 479.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.339, allocations: 4.573 MB / 484.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.3395, allocations: 254.5 kB / 484.4 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3398, allocations: 136.8 kB / 484.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.3498, allocations: 2.688 MB / 487.2 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3499, allocations: 34.56 kB / 487.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/0.3499, allocations: 0 / 487.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01178/0.3617, allocations: 2.319 MB / 489.5 MB, free: 13.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3617, allocations: 63.34 kB / 489.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.3621, allocations: 277.7 kB / 489.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.3621, allocations: 33.7 kB / 489.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3623, allocations: 232.4 kB / 490.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3624, allocations: 170.5 kB / 490.3 MB, free: 12.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3626, allocations: 90.34 kB / 490.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3628, allocations: 346.8 kB / 490.7 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.363, allocations: 157.2 kB / 490.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.3634, allocations: 272.7 kB / 491.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.3641, allocations: 476.3 kB / 491.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3641, allocations: 0 / 491.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001146/0.3652, allocations: 0.5844 MB / 492.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3653, allocations: 12.09 kB / 492.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3653, allocations: 11.92 kB / 492.2 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007713/0.373, allocations: 1.847 MB / 494.1 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.3734, allocations: 107.8 kB / 494.2 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.3757, allocations: 2.435 MB / 496.6 MB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3761, allocations: 16 kB / 496.6 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.3761, allocations: 20 kB / 496.6 MB, free: 5.641 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.0002978/0.3764, allocations: 175.8 kB / 496.8 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3765, allocations: 39.7 kB / 496.8 MB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3779, allocations: 0.8763 MB / 497.7 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3779, allocations: 4 kB / 497.7 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.3779, allocations: 4 kB / 497.7 MB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.379, allocations: 0.9746 MB / 498.7 MB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3811, allocations: 1.366 MB / 0.4884 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3811, allocations: 0 / 0.4884 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3815, allocations: 79.91 kB / 0.4884 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/0.3848, allocations: 0.618 MB / 0.489 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.3848, allocations: 15.98 kB / 0.489 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.386, allocations: 1.3 MB / 0.4903 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.386, allocations: 0 / 0.4903 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3878, allocations: 1.254 MB / 0.4915 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3879, allocations: 35.7 kB / 0.4916 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.388, allocations: 12.12 kB / 0.4916 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3882, allocations: 12 kB / 0.4916 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3883, allocations: 27.98 kB / 0.4916 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.3883, allocations: 23.92 kB / 0.4916 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3886, allocations: 193.1 kB / 0.4918 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.4918 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008437/0.3894, allocations: 231.7 kB / 0.4921 GB, free: 14.18 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.0007157/0.3901, allocations: 270.8 kB / 0.4923 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3915, allocations: 0.6873 MB / 0.493 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3915, allocations: 8 kB / 0.493 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.3925, allocations: 424.1 kB / 0.4934 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3937, allocations: 204.8 kB / 0.4936 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3959, allocations: 1.281 MB / 0.4948 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3961, allocations: 229.3 kB / 0.4951 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3963, allocations: 47.42 kB / 0.4951 GB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3963, allocations: 0 / 0.4951 GB, free: 10.99 MB / 414.1 MB Notification: Performance of Templates: time 0.01956/0.4158, allocations: 12.95 MB / 0.5077 GB, free: 14.06 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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: 9.986952465958893]