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.001644/0.001644, allocations: 121.2 kB / 17.1 MB, free: 5.977 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.001835/0.001836, allocations: 192.8 kB / 18.03 MB, free: 5.059 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.37/1.37, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06456/0.06456, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001433/0.001433, allocations: 74.05 kB / 397.8 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06654/0.06799, allocations: 50.13 MB / 448 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00168/0.0697, allocations: 0.6823 MB / 448.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.06993, allocations: 64.12 kB / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.06997, allocations: 4 kB / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.07, allocations: 0 / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.07008, allocations: 3.938 kB / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.07022, allocations: 11.98 kB / 448.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.07031, allocations: 31.86 kB / 448.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.07041, allocations: 15.97 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.07045, allocations: 8 kB / 448.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.07051, allocations: 15.92 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.07053, allocations: 4 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.07054, allocations: 4 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.07057, allocations: 3.984 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.07059, allocations: 7.938 kB / 448.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.166e-05/0.07067, allocations: 23.91 kB / 448.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.07068, allocations: 3.938 kB / 448.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07068, allocations: 0 / 448.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.07069, allocations: 4 kB / 448.8 MB, free: 12.8 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.0003619/0.07106, allocations: 331.5 kB / 449.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.0711, allocations: 8.031 kB / 449.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.07115, allocations: 0.9375 kB / 449.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.0713, allocations: 180.3 kB / 449.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.07131, allocations: 384 / 449.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.07133, allocations: 384 / 449.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.07152, allocations: 80.8 kB / 449.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.07153, allocations: 192 / 449.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.07155, allocations: 11.88 kB / 449.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.07156, allocations: 0 / 449.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.07173, allocations: 31.97 kB / 449.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.07212, allocations: 269.8 kB / 449.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.0723, allocations: 69 kB / 449.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.07241, allocations: 33.83 kB / 449.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.07244, allocations: 7.938 kB / 449.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.07246, allocations: 30.56 kB / 449.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.07247, allocations: 0 / 449.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003554/0.07283, allocations: 93.83 kB / 450 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.07289, allocations: 110.8 kB / 450.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.073, allocations: 101.8 kB / 450.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.07302, allocations: 25.7 kB / 450.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.07306, allocations: 88.14 kB / 450.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.07309, allocations: 11.75 kB / 450.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.07313, allocations: 13.72 kB / 450.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.07322, allocations: 322.8 kB / 450.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.07332, allocations: 24.84 kB / 450.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.07342, allocations: 34.56 kB / 450.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.07358, allocations: 49.72 kB / 450.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.07359, allocations: 0 / 450.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002055/0.0738, allocations: 77.53 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.07382, allocations: 8 kB / 450.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.07383, allocations: 3.938 kB / 450.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.07385, allocations: 0 / 450.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.07394, allocations: 11.98 kB / 450.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.07395, allocations: 4.062 kB / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.07401, allocations: 7.984 kB / 450.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.07403, allocations: 4 kB / 450.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.854e-05/0.0741, allocations: 88.14 kB / 450.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.912e-05/0.07416, allocations: 22.56 kB / 451 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.152e-05/0.07424, allocations: 37.67 kB / 451 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.07425, allocations: 0 / 451 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001221/0.07438, allocations: 57.56 kB / 451.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.07439, allocations: 8 kB / 451.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-06/0.0744, allocations: 0 / 451.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/0.07441, allocations: 0 / 451.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.724e-05/0.07445, allocations: 4 kB / 451.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-06/0.07446, allocations: 0 / 451.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.0745, allocations: 12.05 kB / 451.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.07451, allocations: 4 kB / 451.1 MB, free: 10.26 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 7.732e-05/0.07459, allocations: 180.3 kB / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.07463, allocations: 15.84 kB / 451.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.07466, allocations: 7.078 kB / 451.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.07466, allocations: 0 / 451.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.07467, allocations: 0 / 451.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.07471, allocations: 85.09 kB / 451.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.07472, allocations: 4 kB / 451.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.07482, allocations: 11.94 kB / 451.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.07486, allocations: 11.92 kB / 451.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002812/0.07515, allocations: 228.2 kB / 451.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006798/0.07584, allocations: 1.234 MB / 452.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001013/0.07595, allocations: 35.91 kB / 452.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.887e-05/0.07599, allocations: 75.28 kB / 453 MB, free: 8.297 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.076, allocations: 0 / 453 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.0765, allocations: 111.3 kB / 453.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004921/0.07701, allocations: 0.7534 MB / 453.8 MB, free: 7.352 MB / 334.1 MB Notification: Performance of Templates: time 0.002749/0.07977, allocations: 0.788 MB / 454.6 MB, free: 6.566 MB / 334.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