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.001517/0.001517, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001668/0.001668, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001563/0.001563, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02843/0.2365, allocations: 24.55 MB / 456.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.2416, allocations: 3.778 MB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.2418, allocations: 4 kB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.2424, allocations: 194.7 kB / 460.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000693/0.2431, allocations: 346.1 kB / 461.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.247, allocations: 1.448 MB / 462.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.248, allocations: 0.9067 MB / 463.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2482, allocations: 80.83 kB / 463.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.2546, allocations: 4.131 MB / 467.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.2549, allocations: 290.9 kB / 468.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.255, allocations: 31.94 kB / 468.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2563, allocations: 0.7337 MB / 468.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2564, allocations: 95.61 kB / 468.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.2566, allocations: 167.4 kB / 469.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2577, allocations: 0.8492 MB / 469.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2577, allocations: 0 / 469.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2577, allocations: 0 / 469.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2577, allocations: 3.938 kB / 469.9 MB, free: 1.023 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.0009544/0.2587, allocations: 0.6011 MB / 470.5 MB, free: 404 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2587, allocations: 8.031 kB / 470.5 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.2592, allocations: 56.72 kB / 470.6 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2596, allocations: 222.1 kB / 470.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2596, allocations: 28.97 kB / 470.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.2597, allocations: 28.38 kB / 470.9 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.2604, allocations: 0.4941 MB / 471.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2604, allocations: 0 / 471.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.2604, allocations: 12 kB / 471.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2604, allocations: 8 kB / 471.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.2608, allocations: 205.8 kB / 471.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.2745, allocations: 4.086 MB / 475.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.2748, allocations: 177.5 kB / 475.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2749, allocations: 80.78 kB / 475.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.2866, allocations: 2.684 MB / 478.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.2866, allocations: 42.55 kB / 478.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.2866, allocations: 0 / 478.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00674/0.2934, allocations: 1.263 MB / 479.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2934, allocations: 55.41 kB / 480 MB, free: 6.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.2937, allocations: 232 kB / 480.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.2937, allocations: 37.64 kB / 480.2 MB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2939, allocations: 196.3 kB / 480.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.2939, allocations: 95.17 kB / 480.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2941, allocations: 65.69 kB / 480.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2942, allocations: 334.8 kB / 480.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2944, allocations: 87.95 kB / 481 MB, free: 5.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.2946, allocations: 194.8 kB / 481.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.2951, allocations: 307 kB / 481.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2951, allocations: 4 kB / 481.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007272/0.2958, allocations: 386.8 kB / 481.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2958, allocations: 4 kB / 481.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2958, allocations: 4.375 kB / 481.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004788/0.3006, allocations: 0.9415 MB / 482.8 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.3009, allocations: 63.91 kB / 482.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3026, allocations: 1.855 MB / 484.7 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.3028, allocations: 8 kB / 484.7 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.3028, allocations: 16 kB / 484.7 MB, free: 1.688 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.0001675/0.303, allocations: 153.9 kB / 484.9 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.303, allocations: 35.72 kB / 484.9 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007972/0.3038, allocations: 499 kB / 485.4 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3038, allocations: 7.984 kB / 485.4 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.3038, allocations: 0 / 485.4 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007356/0.3046, allocations: 0.7238 MB / 486.1 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3059, allocations: 0.8441 MB / 487 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3059, allocations: 0 / 487 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3061, allocations: 51.95 kB / 487 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.308, allocations: 316.4 kB / 487.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3081, allocations: 8 kB / 487.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005503/0.3086, allocations: 0.6538 MB / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3086, allocations: 0 / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3096, allocations: 0.7331 MB / 488.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.3097, allocations: 31.73 kB / 488.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.3097, allocations: 7.938 kB / 488.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3099, allocations: 11.94 kB / 488.8 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3099, allocations: 11.97 kB / 488.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.3099, allocations: 15.98 kB / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.3101, allocations: 169.5 kB / 489 MB, free: 13.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3101, allocations: 0 / 489 MB, free: 13.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006481/0.3108, allocations: 183.8 kB / 489.2 MB, free: 13.05 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): 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.0005882/0.3113, allocations: 270.8 kB / 489.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.3122, allocations: 443.8 kB / 489.9 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3122, allocations: 0 / 489.9 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.3127, allocations: 227.8 kB / 490.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008239/0.3136, allocations: 136.2 kB / 490.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3149, allocations: 0.8069 MB / 491 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.315, allocations: 172.2 kB / 491.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3152, allocations: 46.94 kB / 491.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3153, allocations: 31.42 kB / 491.3 MB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3153, allocations: 0 / 491.3 MB, free: 10.87 MB / 398.1 MB Notification: Performance of Templates: time 0.01653/0.3318, allocations: 9.949 MB / 0.4895 GB, free: 1.043 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 -s gbode -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: 5.879876684004557]