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.001631/0.001631, allocations: 120.2 kB / 21.94 MB, free: 8 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.00155/0.00155, allocations: 204.8 kB / 25.24 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.454/1.454, allocations: 207.6 MB / 236 MB, free: 9.984 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.002011/0.002011, allocations: 55 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2805, allocations: 49.16 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0265/0.307, allocations: 27.37 MB / 425 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.3129, allocations: 4.203 MB / 429.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.3132, allocations: 3.312 kB / 429.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.314, allocations: 215.8 kB / 429.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/0.3148, allocations: 340.2 kB / 429.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.3204, allocations: 1.472 MB / 431.2 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3216, allocations: 0.9085 MB / 432.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.3218, allocations: 78.34 kB / 432.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/0.3285, allocations: 4.137 MB / 436.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.329, allocations: 294.9 kB / 436.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.329, allocations: 32 kB / 436.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3307, allocations: 0.7337 MB / 437.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.3308, allocations: 99.66 kB / 437.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.3311, allocations: 187.3 kB / 437.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3329, allocations: 0.853 MB / 438.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3329, allocations: 0 / 438.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3329, allocations: 0 / 438.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3329, allocations: 0 / 438.5 MB, free: 10.41 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.001302/0.3342, allocations: 0.5867 MB / 439.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3342, allocations: 23.92 kB / 439.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.335, allocations: 56.72 kB / 439.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.3356, allocations: 222.1 kB / 439.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3357, allocations: 24.97 kB / 439.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.3357, allocations: 28.38 kB / 439.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.3365, allocations: 343.6 kB / 439.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.3365, allocations: 8 kB / 439.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.3366, allocations: 12 kB / 439.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3366, allocations: 8 kB / 439.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.3371, allocations: 209.8 kB / 440 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.3506, allocations: 4.664 MB / 444.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.351, allocations: 166.6 kB / 444.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3511, allocations: 84.83 kB / 444.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.3616, allocations: 2.676 MB / 447.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.3617, allocations: 38.56 kB / 447.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.3617, allocations: 0 / 447.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006851/0.3685, allocations: 1.26 MB / 448.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3686, allocations: 55.41 kB / 448.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.3689, allocations: 257.9 kB / 449.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.369, allocations: 29.7 kB / 449.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3691, allocations: 200.4 kB / 449.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.3692, allocations: 91.22 kB / 449.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3693, allocations: 69.64 kB / 449.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3695, allocations: 338.8 kB / 449.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3697, allocations: 91.75 kB / 450 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.3699, allocations: 198.8 kB / 450.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.3704, allocations: 299 kB / 450.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3704, allocations: 0 / 450.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007906/0.3712, allocations: 394.8 kB / 450.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3712, allocations: 8 kB / 450.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3712, allocations: 384 / 450.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004311/0.3755, allocations: 0.9416 MB / 451.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.3758, allocations: 63.91 kB / 451.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.3778, allocations: 1.871 MB / 453.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.378, allocations: 12 kB / 453.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.378, allocations: 12 kB / 453.8 MB, free: 10.49 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.0002229/0.3783, allocations: 161.8 kB / 453.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.3784, allocations: 39.69 kB / 454 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.3792, allocations: 494.7 kB / 454.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3792, allocations: 7.984 kB / 454.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3792, allocations: 0 / 454.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007681/0.38, allocations: 0.7277 MB / 455.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.3814, allocations: 0.9331 MB / 456.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3814, allocations: 0 / 456.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3816, allocations: 47.91 kB / 456.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.3834, allocations: 320.3 kB / 456.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.3835, allocations: 11.98 kB / 456.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006174/0.3841, allocations: 0.6538 MB / 457.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3841, allocations: 3.938 kB / 457.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3852, allocations: 0.7333 MB / 457.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.3853, allocations: 31.75 kB / 457.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.3853, allocations: 7.984 kB / 457.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3855, allocations: 8 kB / 457.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.3856, allocations: 15.97 kB / 458 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3856, allocations: 8 kB / 458 MB, free: 6.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.3859, allocations: 185.2 kB / 458.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 458.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.3866, allocations: 187.7 kB / 458.3 MB, free: 5.73 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.0006936/0.3873, allocations: 270.8 kB / 458.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009363/0.3882, allocations: 440.2 kB / 459 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3882, allocations: 4 kB / 459 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.3888, allocations: 227.8 kB / 459.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.3898, allocations: 173 kB / 459.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3914, allocations: 0.8505 MB / 460.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3919, allocations: 0.7721 MB / 461 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.3919, allocations: 31.44 kB / 461.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3919, allocations: 0 / 461.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of Templates: time 0.01473/0.4067, allocations: 8.455 MB / 469.5 MB, free: 10.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/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: 8.955639718100429]