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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.276/2.276, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4212/0.4212, allocations: 46.12 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 71.83 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2051, allocations: 62.46 MB / 479.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.004046/0.2093, allocations: 0.5527 MB / 480.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.2099, allocations: 106.3 kB / 480.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.21, allocations: 0 / 480.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.21, allocations: 0 / 480.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.2104, allocations: 19.92 kB / 480.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.921e-05/0.2104, allocations: 0 / 480.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.2105, allocations: 4 kB / 480.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.2106, allocations: 3.984 kB / 480.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.2106, allocations: 4 kB / 480.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.2107, allocations: 11.92 kB / 480.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2107, allocations: 0 / 480.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2109, allocations: 19.98 kB / 480.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.2109, allocations: 7.938 kB / 480.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2109, allocations: 0 / 480.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.211, allocations: 11.98 kB / 480.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2111, allocations: 0 / 480.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2111, allocations: 0 / 480.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2111, allocations: 0 / 480.7 MB, free: 5.016 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005573/0.2116, allocations: 323.5 kB / 481 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.2117, allocations: 12.88 kB / 481 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.2118, allocations: 4.938 kB / 481 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.212, allocations: 164.4 kB / 481.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2121, allocations: 384 / 481.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.2121, allocations: 384 / 481.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2123, allocations: 30.27 kB / 481.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2123, allocations: 8.188 kB / 481.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2123, allocations: 3.938 kB / 481.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2123, allocations: 0 / 481.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.2124, allocations: 11.92 kB / 481.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.2127, allocations: 158 kB / 481.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.213, allocations: 30.58 kB / 481.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.213, allocations: 12.94 kB / 481.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.2136, allocations: 113.1 kB / 481.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2136, allocations: 34.56 kB / 481.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.2136, allocations: 0 / 481.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001825/0.2155, allocations: 193.2 kB / 481.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.2155, allocations: 63.33 kB / 481.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.2156, allocations: 89.86 kB / 481.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2157, allocations: 29.7 kB / 481.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2157, allocations: 88.08 kB / 482 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.2158, allocations: 7.812 kB / 482 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.2159, allocations: 25.7 kB / 482 MB, free: 3.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2161, allocations: 310.8 kB / 482.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2162, allocations: 24.11 kB / 482.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2163, allocations: 19.98 kB / 482.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.2166, allocations: 44.83 kB / 482.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2166, allocations: 0 / 482.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003001/0.2169, allocations: 81.81 kB / 482.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.2169, allocations: 7.938 kB / 482.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.2169, allocations: 8 kB / 482.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.217, allocations: 0 / 482.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2172, allocations: 16.2 kB / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2172, allocations: 0 / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2173, allocations: 7.984 kB / 482.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2173, allocations: 15.92 kB / 482.6 MB, free: 2.871 MB / 350.1 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 0.0001302/0.2175, allocations: 105.8 kB / 482.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2175, allocations: 3.938 kB / 482.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.2179, allocations: 97.19 kB / 482.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2179, allocations: 0 / 482.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.2179, allocations: 0 / 482.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2179, allocations: 0 / 482.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.219, allocations: 363.3 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.219, allocations: 0 / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2191, allocations: 19.92 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2192, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2192, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2192, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2192, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.2196, allocations: 184.3 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2196, allocations: 81.02 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2197, allocations: 0 / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2198, allocations: 7.984 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.2199, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2199, allocations: 4.125 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.2199, allocations: 87.22 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.22, allocations: 0 / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.2203, allocations: 12 kB / 483.5 MB, free: 1.812 MB / 350.1 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.0002338/0.2206, allocations: 103.7 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.2209, allocations: 51.84 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2209, allocations: 0 / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2211, allocations: 32 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2214, allocations: 4 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.222, allocations: 157.2 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.2224, allocations: 0.6809 MB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2225, allocations: 7.438 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2225, allocations: 64 / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Templates: time 0.00342/0.226, allocations: 0.6605 MB / 485.2 MB, free: 48 kB / 350.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches