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.001387/0.001387, allocations: 84.69 kB / 21.43 MB, free: 296 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.001541/0.001541, allocations: 164 kB / 24.7 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.327/1.327, 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.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: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.711e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03023/0.03025, allocations: 24.38 MB / 323.4 MB, free: 228 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.1889, allocations: 3.749 MB / 327.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1891, allocations: 6.031 kB / 327.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.1897, allocations: 195.6 kB / 327.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.1905, allocations: 364.6 kB / 327.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.1952, allocations: 1.49 MB / 329.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1964, allocations: 0.8928 MB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1965, allocations: 69.45 kB / 330.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007426/0.204, allocations: 4.278 MB / 334.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.2044, allocations: 255.5 kB / 334.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.2045, allocations: 35.22 kB / 334.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2059, allocations: 0.7042 MB / 335.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.206, allocations: 100.9 kB / 335.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.2062, allocations: 148.9 kB / 335.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2075, allocations: 0.9591 MB / 336.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2075, allocations: 1.031 kB / 336.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2075, allocations: 0.5625 kB / 336.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.2075, allocations: 0 / 336.6 MB, free: 12.82 MB / 302.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.0009604/0.2085, allocations: 0.5795 MB / 337.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2085, allocations: 16.67 kB / 337.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.209, allocations: 60.84 kB / 337.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.2094, allocations: 228.9 kB / 337.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.2094, allocations: 24.16 kB / 337.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.2095, allocations: 23.53 kB / 337.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.21, allocations: 496.9 kB / 338 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2101, allocations: 5.078 kB / 338 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.2101, allocations: 15.84 kB / 338 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2101, allocations: 10.12 kB / 338 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2104, allocations: 208 kB / 338.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.222, allocations: 4.077 MB / 342.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.2223, allocations: 170.3 kB / 342.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.2224, allocations: 92.86 kB / 342.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009946/0.2323, allocations: 2.668 MB / 345.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2324, allocations: 48.45 kB / 345.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.285e-06/0.2324, allocations: 0 / 345.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.006417/0.2388, allocations: 1.261 MB / 346.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2388, allocations: 60.56 kB / 346.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.239, allocations: 233.7 kB / 346.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.239, allocations: 32.23 kB / 346.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2391, allocations: 192.6 kB / 347 MB, free: 8.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.2392, allocations: 96.81 kB / 347.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2393, allocations: 71.3 kB / 347.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.2393, allocations: 332.6 kB / 347.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2395, allocations: 94.45 kB / 347.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2396, allocations: 184.7 kB / 347.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.24, allocations: 303.4 kB / 348.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.24, allocations: 0 / 348.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006086/0.2406, allocations: 395.1 kB / 348.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2406, allocations: 5.406 kB / 348.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2406, allocations: 11.88 kB / 348.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/0.2448, allocations: 0.934 MB / 349.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.245, allocations: 75.34 kB / 349.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.2462, allocations: 1.845 MB / 351.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2464, allocations: 15.41 kB / 351.4 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.2464, allocations: 14.25 kB / 351.4 MB, free: 5 MB / 302.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.0002028/0.2466, allocations: 159.7 kB / 351.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.2467, allocations: 25.3 kB / 351.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.2475, allocations: 497 kB / 352 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2475, allocations: 2.406 kB / 352 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2475, allocations: 3.938 kB / 352.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006061/0.2481, allocations: 0.7246 MB / 352.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2491, allocations: 0.8551 MB / 353.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2491, allocations: 7.969 kB / 353.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2493, allocations: 42.8 kB / 353.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.251, allocations: 323.6 kB / 354 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.251, allocations: 4 kB / 354 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003593/0.2514, allocations: 0.65 MB / 354.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2514, allocations: 8.047 kB / 354.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.2521, allocations: 0.7289 MB / 355.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.2521, allocations: 23.84 kB / 355.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.2522, allocations: 4 kB / 355.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2524, allocations: 8 kB / 355.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.2524, allocations: 19.84 kB / 355.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2524, allocations: 15.98 kB / 355.5 MB, free: 1.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.2525, allocations: 160.9 kB / 355.6 MB, free: 1 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2525, allocations: 0 / 355.6 MB, free: 1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007522/0.2533, allocations: 187.7 kB / 355.8 MB, free: 0.8164 MB / 302.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.0005677/0.2539, allocations: 283.1 kB / 356.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.2545, allocations: 444.1 kB / 356.5 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2545, allocations: 4 kB / 356.5 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.2551, allocations: 225.6 kB / 356.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.256, allocations: 140.8 kB / 356.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2572, allocations: 0.7172 MB / 357.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2575, allocations: 172.1 kB / 357.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2577, allocations: 47.03 kB / 357.8 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.2578, allocations: 36.48 kB / 357.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2578, allocations: 4 kB / 357.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01751/0.2753, allocations: 9.247 MB / 367.1 MB, free: 5.566 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/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: 5.502381533384323]