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.001308/0.001308, allocations: 120.3 kB / 17.14 MB, free: 5.918 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.001393/0.001393, allocations: 190.5 kB / 18.08 MB, free: 4.992 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.387/1.387, allocations: 207.6 MB / 226.5 MB, free: 11.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.08041/0.08041, allocations: 14.41 MB / 290.7 MB, free: 10.74 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.002145/0.002145, allocations: 70.73 kB / 408.5 MB, free: 41.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07447/0.07662, allocations: 52.87 MB / 461.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001942/0.07856, allocations: 0.6708 MB / 462.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.0788, allocations: 64.12 kB / 462.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.07883, allocations: 0 / 462.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.07886, allocations: 7.938 kB / 462.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.07893, allocations: 3.984 kB / 462.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.07908, allocations: 19.92 kB / 462.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.07918, allocations: 27.92 kB / 462.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.07927, allocations: 12 kB / 462.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.0793, allocations: 15.92 kB / 462.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.07936, allocations: 19.91 kB / 462.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.07938, allocations: 0 / 462.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.07939, allocations: 4 kB / 462.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.07941, allocations: 0 / 462.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.07943, allocations: 15.92 kB / 462.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.724e-05/0.07951, allocations: 19.92 kB / 462.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.07951, allocations: 3.938 kB / 462.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07952, allocations: 0 / 462.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.07952, allocations: 0 / 462.3 MB, free: 3.484 MB / 334.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.0004815/0.08, allocations: 335.5 kB / 462.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.08004, allocations: 8.031 kB / 462.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.08007, allocations: 8.938 kB / 462.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.08026, allocations: 164.4 kB / 462.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.08027, allocations: 8.375 kB / 462.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.08029, allocations: 4.375 kB / 462.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.08049, allocations: 76.75 kB / 462.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.0805, allocations: 192 / 462.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.08051, allocations: 3.938 kB / 462.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.08052, allocations: 3.984 kB / 462.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.0807, allocations: 47.89 kB / 462.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.08113, allocations: 265.8 kB / 463.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.08133, allocations: 69.12 kB / 463.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.08144, allocations: 37.69 kB / 463.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.08146, allocations: 0 / 463.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.0815, allocations: 30.56 kB / 463.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.0815, allocations: 4 kB / 463.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004009/0.0819, allocations: 97.53 kB / 463.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.08198, allocations: 106.8 kB / 463.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.08208, allocations: 93.86 kB / 463.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.0821, allocations: 25.7 kB / 463.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.08215, allocations: 92.08 kB / 463.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.08217, allocations: 12.19 kB / 463.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.08221, allocations: 13.72 kB / 463.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.08236, allocations: 314.8 kB / 464.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.08246, allocations: 20.84 kB / 464.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.08256, allocations: 38.55 kB / 464.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.08274, allocations: 53.66 kB / 464.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.08274, allocations: 0 / 464.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002299/0.08297, allocations: 77.53 kB / 464.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.08298, allocations: 12.06 kB / 464.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.08299, allocations: 3.938 kB / 464.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.083, allocations: 0 / 464.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.08309, allocations: 11.98 kB / 464.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.0831, allocations: 0 / 464.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.08316, allocations: 15.89 kB / 464.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.08317, allocations: 0 / 464.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.917e-05/0.08326, allocations: 92.12 kB / 464.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.58e-05/0.08332, allocations: 26.58 kB / 464.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001023/0.08342, allocations: 29.64 kB / 464.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.08342, allocations: 3.984 kB / 464.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001327/0.08355, allocations: 53.62 kB / 464.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.08357, allocations: 10.34 kB / 464.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-06/0.08357, allocations: 4.094 kB / 464.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-06/0.08357, allocations: 0 / 464.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.08361, allocations: 7.984 kB / 464.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.08362, allocations: 7.938 kB / 464.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.08366, allocations: 0 / 464.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-06/0.08366, allocations: 4 kB / 464.5 MB, free: 0.9336 MB / 334.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 0.0001121/0.08377, allocations: 184.2 kB / 464.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.0838, allocations: 4 kB / 464.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.08382, allocations: 15.06 kB / 464.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.08382, allocations: 0 / 464.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.08383, allocations: 0 / 464.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.08383, allocations: 4 kB / 464.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.08402, allocations: 161.6 kB / 464.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.08402, allocations: 3.984 kB / 464.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.08409, allocations: 12 kB / 464.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.08409, allocations: 0 / 464.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.0841, allocations: 4 kB / 464.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.0841, allocations: 0 / 464.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0841, allocations: 0 / 464.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.08489, allocations: 0.9699 MB / 465.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.08494, allocations: 85.03 kB / 466 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.08496, allocations: 4.047 kB / 466 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.08505, allocations: 15.92 kB / 466 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.08509, allocations: 11.86 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.08509, allocations: 4 kB / 466 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.75e-05/0.08517, allocations: 75.28 kB / 466.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08517, allocations: 4 kB / 466.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.08569, allocations: 12 kB / 466.1 MB, free: 15.23 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 (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 0.0001067/0.08579, allocations: 95.25 kB / 466.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.08609, allocations: 55.88 kB / 466.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.08609, allocations: 4 kB / 466.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.08619, allocations: 20.3 kB / 466.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.08641, allocations: 8 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.08685, allocations: 246.1 kB / 466.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.08715, allocations: 0.6729 MB / 467.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.08719, allocations: 19.38 kB / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08719, allocations: 0 / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.002185/0.08937, allocations: 0.6445 MB / 467.8 MB, free: 13.39 MB / 350.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 -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