Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001585/0.001585, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.001851/0.001851, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.91 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1095, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2473/0.3569, allocations: 27.23 MB / 454.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.3612, allocations: 4.185 MB / 458.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.3615, allocations: 8.031 kB / 458.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.3622, allocations: 209.9 kB / 459.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.3629, allocations: 340.1 kB / 459.4 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.3675, allocations: 1.472 MB / 460.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3689, allocations: 0.879 MB / 461.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.3691, allocations: 78.5 kB / 461.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.3763, allocations: 4.081 MB / 466 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.3768, allocations: 299.3 kB / 466.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.3768, allocations: 30.75 kB / 466.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.3787, allocations: 0.7313 MB / 467 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3788, allocations: 98.31 kB / 467.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.379, allocations: 194.1 kB / 467.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3805, allocations: 0.8563 MB / 468.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3805, allocations: 1.156 kB / 468.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3805, allocations: 3.938 kB / 468.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3805, allocations: 0 / 468.2 MB, free: 6.77 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.001017/0.3815, allocations: 0.6579 MB / 468.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3815, allocations: 10.16 kB / 468.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.382, allocations: 55.05 kB / 468.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.3824, allocations: 292.6 kB / 469.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3824, allocations: 20.44 kB / 469.2 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.3825, allocations: 30.09 kB / 469.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.383, allocations: 346.8 kB / 469.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.383, allocations: 1 kB / 469.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3831, allocations: 12.47 kB / 469.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3831, allocations: 6.656 kB / 469.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.3834, allocations: 213.1 kB / 469.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.3956, allocations: 5.917 MB / 475.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3959, allocations: 174.2 kB / 475.9 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.396, allocations: 81.36 kB / 475.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.4062, allocations: 3.89 MB / 479.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.4063, allocations: 35.94 kB / 479.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.886e-06/0.4063, allocations: 0 / 479.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006714/0.413, allocations: 1.411 MB / 481.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.4131, allocations: 54.72 kB / 481.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.4134, allocations: 258.5 kB / 481.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4134, allocations: 34.8 kB / 481.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4135, allocations: 187.9 kB / 481.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.4136, allocations: 98.36 kB / 481.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4137, allocations: 66.22 kB / 482 MB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4139, allocations: 337.8 kB / 482.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4141, allocations: 93.66 kB / 482.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.4143, allocations: 190.6 kB / 482.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.4148, allocations: 311.5 kB / 482.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4148, allocations: 1.594 kB / 482.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007279/0.4155, allocations: 392.2 kB / 483.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4155, allocations: 10.78 kB / 483.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4155, allocations: 6.562 kB / 483.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.4197, allocations: 0.929 MB / 484.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.42, allocations: 69.95 kB / 484.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.4218, allocations: 1.972 MB / 486.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4221, allocations: 11.66 kB / 486.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.4221, allocations: 11.53 kB / 486.3 MB, free: 10.35 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.0002109/0.4224, allocations: 158.8 kB / 486.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.4224, allocations: 29.8 kB / 486.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/0.4232, allocations: 495.4 kB / 486.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4232, allocations: 3.438 kB / 486.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4232, allocations: 1.875 kB / 486.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007419/0.424, allocations: 0.7186 MB / 487.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.4253, allocations: 0.952 MB / 488.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4253, allocations: 0 / 488.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.4255, allocations: 42.67 kB / 488.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.4272, allocations: 320.5 kB / 489 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4273, allocations: 7.094 kB / 489 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/0.4278, allocations: 0.6485 MB / 489.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4278, allocations: 0 / 489.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.4288, allocations: 0.7181 MB / 490.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4289, allocations: 105.1 kB / 490.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.4289, allocations: 5.375 kB / 490.5 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4291, allocations: 6.75 kB / 490.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.4292, allocations: 20.16 kB / 490.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.4292, allocations: 12.06 kB / 490.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4294, allocations: 184.5 kB / 490.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4294, allocations: 0 / 490.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008919/0.4303, allocations: 197.7 kB / 490.9 MB, free: 6.992 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.0006846/0.431, allocations: 265.6 kB / 491.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.4318, allocations: 461.3 kB / 491.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4318, allocations: 0 / 491.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.4324, allocations: 220.3 kB / 491.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4334, allocations: 173.1 kB / 492 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.4347, allocations: 0.8298 MB / 492.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4351, allocations: 0.782 MB / 493.6 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.4352, allocations: 29.06 kB / 493.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4352, allocations: 0 / 493.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of Templates: time 0.01245/0.4477, allocations: 8.459 MB / 0.4903 GB, free: 14.6 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.970599953987403]