Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.00142/0.00142, allocations: 88.39 kB / 21.44 MB, free: 276 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.001502/0.001502, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.339/1.339, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 299 MB, free: 8.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.334e-05, allocations: 2.281 kB / 299 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3191/0.3191, allocations: 124 MB / 423 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.322, allocations: 1.629 MB / 424.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.3222, allocations: 7.938 kB / 424.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.3229, allocations: 174.8 kB / 424.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.3235, allocations: 337.9 kB / 425.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3247, allocations: 443.8 kB / 425.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.3258, allocations: 0.8558 MB / 426.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.326, allocations: 69.53 kB / 426.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008796/0.3268, allocations: 0.5063 MB / 427 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.3274, allocations: 311.1 kB / 427.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.3275, allocations: 32 kB / 427.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.3278, allocations: 119.7 kB / 427.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.3279, allocations: 107.6 kB / 427.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3281, allocations: 135.8 kB / 427.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.3288, allocations: 0.5089 MB / 428.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3288, allocations: 7.938 kB / 428.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3288, allocations: 0 / 428.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3288, allocations: 4 kB / 428.2 MB, free: 12.39 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009205/0.3297, allocations: 0.5135 MB / 428.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3297, allocations: 11.98 kB / 428.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.33, allocations: 44.73 kB / 428.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.3305, allocations: 225.2 kB / 429 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3305, allocations: 24.88 kB / 429 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.3306, allocations: 28.36 kB / 429.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.3313, allocations: 0.5121 MB / 429.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3313, allocations: 4.188 kB / 429.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3314, allocations: 12.38 kB / 429.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3314, allocations: 7.938 kB / 429.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.3317, allocations: 205.8 kB / 429.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.3334, allocations: 0.902 MB / 430.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.3339, allocations: 174.7 kB / 430.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.334, allocations: 84.83 kB / 431 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.565e-05/0.3341, allocations: 16.36 kB / 431 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.3341, allocations: 42.44 kB / 431 MB, free: 9.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.3341, allocations: 0 / 431 MB, free: 9.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002508/0.3366, allocations: 0.8042 MB / 431.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3367, allocations: 59.34 kB / 431.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.337, allocations: 236 kB / 432.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.337, allocations: 29.7 kB / 432.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3372, allocations: 192.3 kB / 432.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.3372, allocations: 95.16 kB / 432.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3373, allocations: 65.7 kB / 432.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3375, allocations: 342.8 kB / 432.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3377, allocations: 83.95 kB / 432.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3379, allocations: 175.8 kB / 433.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.3384, allocations: 287.8 kB / 433.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3384, allocations: 0 / 433.4 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006571/0.339, allocations: 359.9 kB / 433.7 MB, free: 6.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.339, allocations: 10.5 kB / 433.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3391, allocations: 7.938 kB / 433.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.3392, allocations: 37.7 kB / 433.8 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3396, allocations: 83.83 kB / 433.8 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.3419, allocations: 2.513 MB / 436.4 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.342, allocations: 8 kB / 436.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3421, allocations: 16 kB / 436.4 MB, free: 3.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.3423, allocations: 162 kB / 436.5 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.3423, allocations: 23.86 kB / 436.6 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.3429, allocations: 277.3 kB / 436.8 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3429, allocations: 4 kB / 436.8 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3429, allocations: 0 / 436.8 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005583/0.3435, allocations: 0.5361 MB / 437.4 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009331/0.3444, allocations: 0.5858 MB / 438 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3444, allocations: 0 / 438 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.3447, allocations: 51.97 kB / 438 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.3448, allocations: 16.84 kB / 438 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.3448, allocations: 11.98 kB / 438 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.3458, allocations: 1.249 MB / 439.3 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3458, allocations: 4.031 kB / 439.3 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.3464, allocations: 447.2 kB / 439.7 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.3465, allocations: 23.94 kB / 439.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.3465, allocations: 4 kB / 439.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.3468, allocations: 8 kB / 439.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3468, allocations: 19.91 kB / 439.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.3468, allocations: 15.98 kB / 439.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.347, allocations: 162 kB / 440 MB, free: 15.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.347, allocations: 4 kB / 440 MB, free: 15.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000445/0.3475, allocations: 103.9 kB / 440.1 MB, free: 15.69 MB / 398.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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.3477, allocations: 139 kB / 440.2 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.3485, allocations: 450.1 kB / 440.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3485, allocations: 0 / 440.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3488, allocations: 210.5 kB / 440.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.3496, allocations: 146.4 kB / 441 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3507, allocations: 0.5951 MB / 441.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3509, allocations: 159.1 kB / 441.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3511, allocations: 58.92 kB / 441.8 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3511, allocations: 28.5 kB / 441.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3511, allocations: 0 / 441.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.01182/0.363, allocations: 5.618 MB / 447.4 MB, free: 8.227 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 4.794118568301201]