Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 165.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.023/1.023, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1742/0.1742, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.253e-05, allocations: 5.75 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00133/0.001362, allocations: 0.5063 MB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.001646, allocations: 107.6 kB / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.001691, allocations: 0 / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.001721, allocations: 0 / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.001977, allocations: 15.92 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.508e-05/0.001992, allocations: 4 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.002044, allocations: 3.938 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.002095, allocations: 4 kB / 380.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.002125, allocations: 3.984 kB / 380.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.002178, allocations: 4 kB / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002194, allocations: 4 kB / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.002274, allocations: 15.98 kB / 380.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.00229, allocations: 7.984 kB / 380.6 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.002302, allocations: 0 / 380.6 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.002384, allocations: 27.84 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.002387, allocations: 0 / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002388, allocations: 0 / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.002392, allocations: 0 / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002375/0.00263, allocations: 344.4 kB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.002677, allocations: 12.03 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.002706, allocations: 4.938 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.002778, allocations: 108.6 kB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.002791, allocations: 8.312 kB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.00281, allocations: 384 / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.583e-05/0.002876, allocations: 38.25 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.002886, allocations: 0.5312 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.002894, allocations: 384 / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.002903, allocations: 384 / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.002925, allocations: 11.92 kB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.003022, allocations: 105.2 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.003165, allocations: 47 kB / 381.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.00318, allocations: 15.81 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.003351, allocations: 23.97 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.003368, allocations: 37.39 kB / 381.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003369, allocations: 0 / 381.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005857/0.003955, allocations: 150.2 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.00398, allocations: 51.41 kB / 381.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.802e-05/0.004018, allocations: 157.9 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-06/0.004024, allocations: 25.7 kB / 381.8 MB, free: 20.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/0.004038, allocations: 126.9 kB / 381.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.004065, allocations: 27.77 kB / 381.9 MB, free: 20.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.004096, allocations: 19.38 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.004138, allocations: 496.1 kB / 382.4 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.004158, allocations: 7.984 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.004172, allocations: 16.06 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.004208, allocations: 27.61 kB / 382.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.004208, allocations: 0 / 382.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.848e-05/0.004277, allocations: 53.69 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004289, allocations: 8 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004293, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004304, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.004379, allocations: 11.98 kB / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.004382, allocations: 4 kB / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.004414, allocations: 7.922 kB / 382.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.004419, allocations: 8 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.004461, allocations: 152.6 kB / 382.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.00447, allocations: 7.938 kB / 382.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.00457, allocations: 65.58 kB / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004573, allocations: 0 / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004574, allocations: 0 / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.004578, allocations: 3.938 kB / 382.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.004865, allocations: 317.7 kB / 383.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.004868, allocations: 0 / 383.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.004906, allocations: 11.98 kB / 383.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.004908, allocations: 0 / 383.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.004914, allocations: 4 kB / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.004915, allocations: 0 / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.004917, allocations: 3.938 kB / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.816e-05/0.004995, allocations: 219.5 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.005001, allocations: 4 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.00501, allocations: 4.031 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.00505, allocations: 4 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.005063, allocations: 7.922 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.005068, allocations: 4 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.737e-05/0.005085, allocations: 119.2 kB / 383.5 MB, free: 18.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005085, allocations: 0 / 383.5 MB, free: 18.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000151/0.005236, allocations: 12 kB / 383.5 MB, free: 18.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.005345, allocations: 99.19 kB / 383.6 MB, free: 18.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.005428, allocations: 43.97 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.00543, allocations: 0 / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.005447, allocations: 23.67 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.005604, allocations: 10.48 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.005818, allocations: 135.8 kB / 383.8 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.005849, allocations: 63.2 kB / 383.9 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.005874, allocations: 8.062 kB / 383.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.005914, allocations: 70.2 kB / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.005915, allocations: 0 / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of Templates: time 0.00236/0.008274, allocations: 0.7928 MB / 384.7 MB, free: 17.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.224623561836779]