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.001907/0.001907, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002106/0.002106, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 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.508/1.508, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001707/0.001707, allocations: 47.92 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2622, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02828/0.2905, allocations: 24.49 MB / 448.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.2955, allocations: 3.762 MB / 452.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2956, allocations: 7.938 kB / 452.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.2962, allocations: 190.8 kB / 452.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.2969, allocations: 350.1 kB / 452.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.3008, allocations: 1.451 MB / 454.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3018, allocations: 0.9067 MB / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.302, allocations: 76.78 kB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006265/0.3083, allocations: 4.131 MB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.3087, allocations: 278.8 kB / 459.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.3087, allocations: 32 kB / 459.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.31, allocations: 0.6946 MB / 460.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3102, allocations: 99.72 kB / 460.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3104, allocations: 175.3 kB / 460.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3115, allocations: 0.857 MB / 461.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3115, allocations: 0 / 461.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3115, allocations: 0 / 461.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3115, allocations: 3.938 kB / 461.3 MB, free: 8.883 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.0008992/0.3124, allocations: 0.5789 MB / 461.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3124, allocations: 12.03 kB / 461.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.3128, allocations: 56.72 kB / 461.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3133, allocations: 230 kB / 462.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3133, allocations: 21.03 kB / 462.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.3133, allocations: 24.38 kB / 462.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.314, allocations: 0.4902 MB / 462.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.314, allocations: 0 / 462.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.314, allocations: 15.94 kB / 462.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.314, allocations: 11.98 kB / 462.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.3144, allocations: 205.8 kB / 462.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.3261, allocations: 4.083 MB / 467 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.3264, allocations: 174.6 kB / 467.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3266, allocations: 76.84 kB / 467.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009895/0.3365, allocations: 2.691 MB / 470 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.3365, allocations: 30.56 kB / 470 MB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.3365, allocations: 4 kB / 470 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006137/0.3426, allocations: 1.259 MB / 471.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3427, allocations: 55.34 kB / 471.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.343, allocations: 236 kB / 471.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.343, allocations: 29.7 kB / 471.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3431, allocations: 196.3 kB / 471.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.3432, allocations: 99.2 kB / 471.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3433, allocations: 73.64 kB / 471.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3435, allocations: 326.8 kB / 472.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3437, allocations: 99.73 kB / 472.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3439, allocations: 175.1 kB / 472.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.3443, allocations: 303 kB / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3443, allocations: 0 / 472.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007117/0.345, allocations: 399 kB / 473.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3451, allocations: 11.94 kB / 473.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3451, allocations: 8 kB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003932/0.349, allocations: 0.9293 MB / 474.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.3493, allocations: 75.84 kB / 474.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.3509, allocations: 1.848 MB / 476.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3511, allocations: 8 kB / 476.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3511, allocations: 16 kB / 476.1 MB, free: 9.574 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.0001868/0.3513, allocations: 157.7 kB / 476.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.3514, allocations: 31.78 kB / 476.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/0.3521, allocations: 494 kB / 476.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3521, allocations: 7.984 kB / 476.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3521, allocations: 0 / 476.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007441/0.3529, allocations: 0.744 MB / 477.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.3542, allocations: 0.8441 MB / 478.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3542, allocations: 4 kB / 478.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3543, allocations: 39.92 kB / 478.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.356, allocations: 316.5 kB / 478.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.356, allocations: 8 kB / 478.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.3566, allocations: 0.6538 MB / 479.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3566, allocations: 0 / 479.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3576, allocations: 0.7328 MB / 480.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.3577, allocations: 23.88 kB / 480.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3577, allocations: 11.94 kB / 480.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3579, allocations: 4 kB / 480.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3579, allocations: 19.97 kB / 480.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3579, allocations: 15.98 kB / 480.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3581, allocations: 169.7 kB / 480.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3581, allocations: 0 / 480.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006656/0.3588, allocations: 183.7 kB / 480.5 MB, free: 4.93 MB / 382.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.0005574/0.3593, allocations: 266.7 kB / 480.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008265/0.3602, allocations: 456.2 kB / 481.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3602, allocations: 3.938 kB / 481.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3607, allocations: 219.8 kB / 481.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.3615, allocations: 147.5 kB / 481.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3628, allocations: 0.8249 MB / 482.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.363, allocations: 176.2 kB / 482.6 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.3631, allocations: 31.42 kB / 482.6 MB, free: 2.758 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3631, allocations: 0 / 482.6 MB, free: 2.758 MB / 382.1 MB Notification: Performance of Templates: time 0.01168/0.3748, allocations: 8.284 MB / 490.9 MB, free: 10.48 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 8.94038695609197]