Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001711/0.001711, allocations: 86.84 kB / 22 MB, free: 5.188 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.001992/0.001992, allocations: 162.4 kB / 25.25 MB, free: 3.016 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.312/1.312, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [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.001818/0.001818, allocations: 58.73 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.218, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03857/0.2565, allocations: 33.93 MB / 382.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.2625, allocations: 4.163 MB / 386.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.2627, allocations: 7.938 kB / 386.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.2636, allocations: 274.2 kB / 386.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009233/0.2646, allocations: 497.3 kB / 387.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.2691, allocations: 1.625 MB / 389 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.2706, allocations: 1.288 MB / 390.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.2709, allocations: 115 kB / 390.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.2716, allocations: 494.4 kB / 390.9 MB, free: 5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.2722, allocations: 414.3 kB / 391.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.2722, allocations: 44 kB / 391.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.2737, allocations: 0.7375 MB / 392.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.2739, allocations: 135.6 kB / 392.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2741, allocations: 247.1 kB / 392.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.2756, allocations: 1.058 MB / 393.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2756, allocations: 0 / 393.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2756, allocations: 0 / 393.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2756, allocations: 0 / 393.5 MB, free: 2.379 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001152/0.2767, allocations: 0.7152 MB / 394.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2768, allocations: 15.98 kB / 394.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.2774, allocations: 80.62 kB / 394.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.2779, allocations: 277.7 kB / 394.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.2779, allocations: 29.38 kB / 394.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.278, allocations: 48.33 kB / 394.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.2788, allocations: 0.6692 MB / 395.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.2788, allocations: 7.938 kB / 395.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.2789, allocations: 20 kB / 395.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2789, allocations: 8 kB / 395.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.2794, allocations: 307.6 kB / 395.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.2925, allocations: 4.55 MB / 400.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.293, allocations: 246.6 kB / 400.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.2932, allocations: 145.3 kB / 400.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3038, allocations: 2.703 MB / 403.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3038, allocations: 38.56 kB / 403.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.3038, allocations: 0 / 403.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01201/0.3158, allocations: 2.292 MB / 405.6 MB, free: 5.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3159, allocations: 59.34 kB / 405.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.3162, allocations: 285.7 kB / 406 MB, free: 5.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.3162, allocations: 37.7 kB / 406 MB, free: 5.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3164, allocations: 232.3 kB / 406.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3165, allocations: 166.6 kB / 406.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3167, allocations: 102.3 kB / 406.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3169, allocations: 338.8 kB / 406.8 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3171, allocations: 153.2 kB / 407 MB, free: 4.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.3175, allocations: 276.7 kB / 407.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.3182, allocations: 473.2 kB / 407.7 MB, free: 3.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3182, allocations: 8 kB / 407.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001106/0.3193, allocations: 0.582 MB / 408.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3193, allocations: 4 kB / 408.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3194, allocations: 19.94 kB / 408.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008299/0.3277, allocations: 1.847 MB / 410.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.3281, allocations: 103.9 kB / 410.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.3303, allocations: 2.439 MB / 412.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3306, allocations: 16.28 kB / 412.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3306, allocations: 24 kB / 412.7 MB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.3309, allocations: 177.7 kB / 412.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.331, allocations: 43.69 kB / 413 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.3323, allocations: 0.865 MB / 413.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.3323, allocations: 11.98 kB / 413.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3323, allocations: 0 / 413.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.3334, allocations: 0.9789 MB / 414.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.3354, allocations: 1.355 MB / 416.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3354, allocations: 3.984 kB / 416.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.3357, allocations: 75.91 kB / 416.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.3392, allocations: 0.6297 MB / 416.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.3392, allocations: 12 kB / 416.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3403, allocations: 1.292 MB / 418.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3403, allocations: 0 / 418.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.3419, allocations: 1.251 MB / 419.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.342, allocations: 43.69 kB / 419.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.3421, allocations: 12 kB / 419.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3423, allocations: 12.12 kB / 419.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.3423, allocations: 31.94 kB / 419.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.3424, allocations: 23.92 kB / 419.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.3426, allocations: 197.1 kB / 419.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3426, allocations: 0 / 419.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.3433, allocations: 223.8 kB / 420 MB, free: 7.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005508/0.3439, allocations: 274.8 kB / 420.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3452, allocations: 0.6806 MB / 420.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3452, allocations: 4 kB / 420.9 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009851/0.3462, allocations: 424 kB / 421.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3473, allocations: 216.6 kB / 421.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3493, allocations: 1.238 MB / 422.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3495, allocations: 237 kB / 423 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.3498, allocations: 63.38 kB / 423.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.3499, allocations: 36.48 kB / 423.1 MB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3499, allocations: 7.938 kB / 423.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of Templates: time 0.0208/0.3707, allocations: 11.94 MB / 435.1 MB, free: 7.855 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 5.9666902049211785]