Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 110.9 kB / 17.05 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 192 kB / 17.98 MB, free: 4.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06192/0.06192, allocations: 14.18 MB / 285.4 MB, free: 13.88 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 347.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2244, allocations: 50.12 MB / 397.3 MB, free: 48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001803/0.2262, allocations: 0.6852 MB / 398 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.2264, allocations: 60.03 kB / 398.1 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.2265, allocations: 1.062 kB / 398.1 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.2265, allocations: 0 / 398.1 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.2266, allocations: 8.969 kB / 398.1 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2267, allocations: 19.27 kB / 398.1 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.836e-05/0.2268, allocations: 27.23 kB / 398.1 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.2269, allocations: 6.688 kB / 398.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.2269, allocations: 15.41 kB / 398.1 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.227, allocations: 12.7 kB / 398.2 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.227, allocations: 2.406 kB / 398.2 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.227, allocations: 6.219 kB / 398.2 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2271, allocations: 9.359 kB / 398.2 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.2271, allocations: 8.906 kB / 398.2 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.175e-05/0.2272, allocations: 12.52 kB / 398.2 MB, free: 47.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2272, allocations: 7.984 kB / 398.2 MB, free: 47.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2272, allocations: 1.188 kB / 398.2 MB, free: 47.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2272, allocations: 3.938 kB / 398.2 MB, free: 47.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003205/0.2275, allocations: 329.4 kB / 398.5 MB, free: 46.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2275, allocations: 9.531 kB / 398.5 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2276, allocations: 6.25 kB / 398.5 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2277, allocations: 171.6 kB / 398.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.2277, allocations: 5.656 kB / 398.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2277, allocations: 10.09 kB / 398.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.2279, allocations: 67.22 kB / 398.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2279, allocations: 192 / 398.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2279, allocations: 13.48 kB / 398.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2279, allocations: 0 / 398.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2281, allocations: 37.69 kB / 398.8 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.2284, allocations: 270.4 kB / 399.1 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2285, allocations: 73.06 kB / 399.2 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.2286, allocations: 39.05 kB / 399.2 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2286, allocations: 1.094 kB / 399.2 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.2287, allocations: 32.81 kB / 399.2 MB, free: 46.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2287, allocations: 0 / 399.2 MB, free: 46.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003176/0.229, allocations: 94.39 kB / 399.3 MB, free: 46.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.229, allocations: 104.2 kB / 399.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.2291, allocations: 102.8 kB / 399.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.2291, allocations: 25.7 kB / 399.6 MB, free: 45.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.2291, allocations: 85.2 kB / 399.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.2291, allocations: 13.8 kB / 399.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.2292, allocations: 12.31 kB / 399.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.2292, allocations: 315.9 kB / 400 MB, free: 45.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.2293, allocations: 31.92 kB / 400 MB, free: 45.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.2294, allocations: 34.62 kB / 400.1 MB, free: 45.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2295, allocations: 47.81 kB / 400.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2296, allocations: 1.125 kB / 400.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001815/0.2297, allocations: 81.03 kB / 400.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2298, allocations: 4.969 kB / 400.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2298, allocations: 1.438 kB / 400.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2298, allocations: 8.047 kB / 400.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.2299, allocations: 12.52 kB / 400.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2299, allocations: 0 / 400.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.2299, allocations: 9.609 kB / 400.2 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.23, allocations: 1.094 kB / 400.2 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.354e-05/0.23, allocations: 84.86 kB / 400.3 MB, free: 45.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.947e-05/0.2301, allocations: 29.66 kB / 400.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.728e-05/0.2301, allocations: 39.98 kB / 400.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.2301, allocations: 0 / 400.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001052/0.2303, allocations: 62.16 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.2303, allocations: 4.188 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-06/0.2303, allocations: 1.094 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.2303, allocations: 1.125 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.2303, allocations: 8.531 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-06/0.2303, allocations: 5.094 kB / 400.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.2304, allocations: 11.27 kB / 400.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.2304, allocations: 1.062 kB / 400.5 MB, free: 45.1 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.231e-05/0.2304, allocations: 187.6 kB / 400.6 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2305, allocations: 2.25 kB / 400.6 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.2305, allocations: 8.203 kB / 400.7 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2305, allocations: 1.125 kB / 400.7 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2305, allocations: 4 kB / 400.7 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2305, allocations: 1.094 kB / 400.7 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2306, allocations: 167.3 kB / 400.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2306, allocations: 1.156 kB / 400.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.2307, allocations: 11.45 kB / 400.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2307, allocations: 1.438 kB / 400.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2307, allocations: 0 / 400.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2307, allocations: 5.219 kB / 400.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2307, allocations: 0 / 400.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.2311, allocations: 0.9616 MB / 401.8 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.2311, allocations: 87.23 kB / 401.9 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2312, allocations: 1.094 kB / 401.9 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.2313, allocations: 12.36 kB / 401.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2313, allocations: 6.156 kB / 401.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2313, allocations: 2.156 kB / 401.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.043e-05/0.2313, allocations: 81.39 kB / 402 MB, free: 43.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2313, allocations: 0 / 402 MB, free: 43.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000502/0.2318, allocations: 7.438 kB / 402 MB, free: 43.51 MB / 318.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 (3): * Single equations (assignments): 3 * 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 6.461e-05/0.2319, allocations: 101.2 kB / 402.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.2322, allocations: 52.64 kB / 402.1 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2322, allocations: 0 / 402.1 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.2323, allocations: 29.98 kB / 402.2 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.2325, allocations: 6.75 kB / 402.2 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.2328, allocations: 225 kB / 402.4 MB, free: 43.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.213e-05/0.2329, allocations: 0.6785 MB / 403.1 MB, free: 42.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2329, allocations: 5.531 kB / 403.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.233, allocations: 9.844 kB / 403.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.233, allocations: 0 / 403.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002408/0.2354, allocations: 0.6485 MB / 403.7 MB, free: 42.09 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches