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.001977/0.001977, allocations: 98.66 kB / 21.93 MB, free: 5.207 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.002309/0.002309, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.54/1.54, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.00213/0.00213, allocations: 59.86 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3024, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02614/0.3285, allocations: 24.49 MB / 422.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.3339, allocations: 3.774 MB / 425.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.3342, allocations: 8.312 kB / 425.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.335, allocations: 189.9 kB / 426.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.3358, allocations: 342.4 kB / 426.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004943/0.3407, allocations: 1.454 MB / 427.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.342, allocations: 0.9084 MB / 428.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.3422, allocations: 71.58 kB / 428.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006799/0.349, allocations: 4.135 MB / 433 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.3494, allocations: 270.9 kB / 433.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.3495, allocations: 32 kB / 433.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3511, allocations: 0.6946 MB / 434 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3512, allocations: 115.6 kB / 434.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3514, allocations: 159.4 kB / 434.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3528, allocations: 0.8609 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3528, allocations: 0 / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3528, allocations: 0 / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.3528, allocations: 0 / 435.1 MB, free: 13.62 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.0009647/0.3537, allocations: 0.5867 MB / 435.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3538, allocations: 15.98 kB / 435.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.3544, allocations: 52.73 kB / 435.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.3549, allocations: 230 kB / 436 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3549, allocations: 25.03 kB / 436 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.3549, allocations: 28.38 kB / 436 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.3555, allocations: 493.9 kB / 436.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3556, allocations: 3.938 kB / 436.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.3556, allocations: 19.98 kB / 436.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3556, allocations: 8 kB / 436.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.3559, allocations: 205.8 kB / 436.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.3678, allocations: 4.075 MB / 440.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.3682, allocations: 174.5 kB / 441 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3683, allocations: 80.92 kB / 441.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009706/0.378, allocations: 2.692 MB / 443.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3781, allocations: 34.56 kB / 443.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.535e-06/0.3781, allocations: 0 / 443.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006041/0.3841, allocations: 1.256 MB / 445 MB, free: 3.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3841, allocations: 59.34 kB / 445.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3844, allocations: 232 kB / 445.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.3845, allocations: 33.7 kB / 445.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3846, allocations: 196.3 kB / 445.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.3847, allocations: 99.16 kB / 445.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3848, allocations: 69.66 kB / 445.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3849, allocations: 330.8 kB / 446 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3851, allocations: 99.73 kB / 446.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3854, allocations: 182.9 kB / 446.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.3858, allocations: 307 kB / 446.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3858, allocations: 3.938 kB / 446.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007247/0.3865, allocations: 398.8 kB / 447 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3865, allocations: 4 kB / 447 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3865, allocations: 4.375 kB / 447 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/0.3905, allocations: 0.93 MB / 447.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.3908, allocations: 71.84 kB / 448 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.3925, allocations: 1.855 MB / 449.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3927, allocations: 8.031 kB / 449.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.3927, allocations: 16 kB / 449.9 MB, free: 14.28 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.0002036/0.3929, allocations: 161.9 kB / 450.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.393, allocations: 31.73 kB / 450.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.3938, allocations: 0.4906 MB / 450.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3938, allocations: 0 / 450.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3938, allocations: 0 / 450.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007505/0.3945, allocations: 0.7286 MB / 451.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3959, allocations: 0.8442 MB / 452.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3959, allocations: 3.984 kB / 452.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3961, allocations: 43.95 kB / 452.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.3977, allocations: 320.3 kB / 452.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.3978, allocations: 11.98 kB / 452.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005746/0.3983, allocations: 0.65 MB / 453.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3983, allocations: 4.031 kB / 453.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3993, allocations: 0.7293 MB / 453.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3994, allocations: 31.75 kB / 453.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3995, allocations: 11.94 kB / 453.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3996, allocations: 4 kB / 453.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3997, allocations: 19.97 kB / 454 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3997, allocations: 11.98 kB / 454 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3999, allocations: 157.9 kB / 454.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3999, allocations: 0 / 454.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007161/0.4006, allocations: 183.7 kB / 454.3 MB, free: 9.652 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.0005913/0.4012, allocations: 274.8 kB / 454.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.402, allocations: 439.1 kB / 455 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.402, allocations: 0 / 455 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.4026, allocations: 235.8 kB / 455.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.4034, allocations: 132.2 kB / 455.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.4048, allocations: 0.8348 MB / 456.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.405, allocations: 172.2 kB / 456.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.4051, allocations: 27.44 kB / 456.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4051, allocations: 0 / 456.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01252/0.4176, allocations: 8.28 MB / 464.7 MB, free: 15.19 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.928441863972694]