Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 107.7 kB / 17.08 MB, free: 5.836 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.001252/0.001252, allocations: 192.1 kB / 18.02 MB, free: 4.961 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.417/1.417, 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.06446/0.06446, allocations: 14.16 MB / 285.4 MB, free: 13.86 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.001392/0.001392, allocations: 69.69 kB / 397.8 MB, free: 43.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0658/0.0672, allocations: 50.14 MB / 448 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001677/0.06891, allocations: 0.6668 MB / 448.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.06914, allocations: 60.12 kB / 448.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.06918, allocations: 4 kB / 448.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.06921, allocations: 3.938 kB / 448.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.06928, allocations: 0 / 448.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.06941, allocations: 15.92 kB / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.0695, allocations: 27.91 kB / 448.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.06959, allocations: 4 kB / 448.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.06962, allocations: 15.98 kB / 448.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.06967, allocations: 15.92 kB / 448.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.06969, allocations: 0 / 448.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.06971, allocations: 4 kB / 448.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.06973, allocations: 7.938 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.06976, allocations: 3.938 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.522e-05/0.06984, allocations: 27.95 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.06985, allocations: 3.938 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.06985, allocations: 4 kB / 448.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.06986, allocations: 0 / 448.8 MB, free: 12.83 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.0003587/0.07022, allocations: 331.5 kB / 449.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.07026, allocations: 8.031 kB / 449.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.07029, allocations: 0.9375 kB / 449.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.07045, allocations: 172.3 kB / 449.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.07046, allocations: 384 / 449.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.07048, allocations: 4.375 kB / 449.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.07066, allocations: 80.75 kB / 449.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.07068, allocations: 4.188 kB / 449.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.07069, allocations: 3.938 kB / 449.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.0707, allocations: 3.984 kB / 449.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.07086, allocations: 35.95 kB / 449.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.0712, allocations: 265.9 kB / 449.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.07137, allocations: 69.06 kB / 449.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.07147, allocations: 33.75 kB / 449.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.0715, allocations: 8 kB / 449.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.07153, allocations: 34.5 kB / 449.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.07153, allocations: 0 / 449.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003357/0.07187, allocations: 85.64 kB / 449.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.07193, allocations: 107 kB / 450 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.07201, allocations: 101.9 kB / 450.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.07203, allocations: 29.7 kB / 450.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.07207, allocations: 80.14 kB / 450.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.07209, allocations: 15.73 kB / 450.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.07214, allocations: 17.72 kB / 450.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.07224, allocations: 314.8 kB / 450.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.07234, allocations: 28.84 kB / 450.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.07243, allocations: 38.55 kB / 450.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.07258, allocations: 41.69 kB / 450.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.07259, allocations: 7.969 kB / 450.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.0728, allocations: 73.59 kB / 450.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.07282, allocations: 4 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.07283, allocations: 7.938 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.07284, allocations: 0 / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.07293, allocations: 11.98 kB / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.07294, allocations: 0 / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.073, allocations: 12 kB / 450.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.07301, allocations: 4 kB / 450.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.093e-05/0.07309, allocations: 92.12 kB / 450.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.802e-05/0.07314, allocations: 22.56 kB / 450.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.355e-05/0.07323, allocations: 25.72 kB / 451 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.07324, allocations: 4.031 kB / 451 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001195/0.07337, allocations: 57.56 kB / 451 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.07338, allocations: 4 kB / 451 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.07339, allocations: 7.969 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-06/0.0734, allocations: 4 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.07344, allocations: 4 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.07345, allocations: 0 / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.07349, allocations: 4 kB / 451 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.0735, allocations: 4.062 kB / 451 MB, free: 10.31 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 8.609e-05/0.07359, allocations: 192.1 kB / 451.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.07362, allocations: 7.891 kB / 451.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.07365, allocations: 11.08 kB / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.07365, allocations: 0 / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.07366, allocations: 0 / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.07367, allocations: 3.938 kB / 451.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.07384, allocations: 165.6 kB / 451.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.07384, allocations: 0 / 451.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.07391, allocations: 15.98 kB / 451.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.07392, allocations: 4 kB / 451.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.07393, allocations: 0 / 451.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.07394, allocations: 0 / 451.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.07394, allocations: 4 kB / 451.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.07454, allocations: 0.9583 MB / 452.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.0746, allocations: 85.12 kB / 452.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.07461, allocations: 4 kB / 452.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.0747, allocations: 7.938 kB / 452.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.07474, allocations: 19.86 kB / 452.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.07475, allocations: 4 kB / 452.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.381e-05/0.07479, allocations: 79.28 kB / 452.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0748, allocations: 0 / 452.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.07531, allocations: 4 kB / 452.6 MB, free: 8.613 MB / 334.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 8.815e-05/0.0754, allocations: 95.25 kB / 452.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.07566, allocations: 59.95 kB / 452.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.07567, allocations: 0 / 452.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.07576, allocations: 31.91 kB / 452.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.07598, allocations: 0.9375 kB / 452.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.07634, allocations: 258.7 kB / 453 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.07658, allocations: 0.6768 MB / 453.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.07661, allocations: 11.44 kB / 453.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.07662, allocations: 0 / 453.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Templates: time 0.00177/0.07839, allocations: 0.6275 MB / 454.3 MB, free: 6.777 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches