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.001508/0.001508, allocations: 113.9 kB / 17.09 MB, free: 6.008 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.001721/0.001721, allocations: 188 kB / 18.02 MB, free: 5.094 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.315/1.315, 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.06301/0.06301, allocations: 14.16 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: 77.8 kB / 397.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06813/0.06957, allocations: 50.13 MB / 448 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001717/0.07133, allocations: 0.6752 MB / 448.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.07157, allocations: 64.12 kB / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.07162, allocations: 0 / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.07166, allocations: 0 / 448.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.07173, allocations: 11.94 kB / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.07186, allocations: 15.92 kB / 448.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.07195, allocations: 31.91 kB / 448.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.07204, allocations: 11.98 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.07207, allocations: 4 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.07213, allocations: 15.92 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.07215, allocations: 0 / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.07216, allocations: 4 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.07218, allocations: 7.984 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.07221, allocations: 19.88 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.07229, allocations: 27.89 kB / 448.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.07229, allocations: 0 / 448.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0723, allocations: 0 / 448.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.07231, allocations: 0 / 448.8 MB, free: 12.79 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.00038/0.07269, allocations: 331.5 kB / 449.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.07273, allocations: 12.03 kB / 449.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.07277, allocations: 4.938 kB / 449.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.07293, allocations: 172.3 kB / 449.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.07295, allocations: 4.375 kB / 449.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.07296, allocations: 384 / 449.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.07314, allocations: 76.73 kB / 449.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.07316, allocations: 192 / 449.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.07318, allocations: 7.938 kB / 449.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.07319, allocations: 4 kB / 449.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.07335, allocations: 35.97 kB / 449.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.07369, allocations: 265.8 kB / 449.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.07386, allocations: 73.06 kB / 449.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.07397, allocations: 29.77 kB / 449.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.07399, allocations: 4 kB / 449.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.07402, allocations: 34.55 kB / 449.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.07403, allocations: 0 / 449.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003549/0.07439, allocations: 89.59 kB / 450 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.07446, allocations: 110.8 kB / 450.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.07453, allocations: 101.8 kB / 450.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.07455, allocations: 25.7 kB / 450.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.0746, allocations: 80.14 kB / 450.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.07462, allocations: 23.94 kB / 450.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.07467, allocations: 17.7 kB / 450.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.07478, allocations: 314.8 kB / 450.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.07487, allocations: 20.84 kB / 450.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.07497, allocations: 34.56 kB / 450.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.07513, allocations: 53.7 kB / 450.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.07514, allocations: 0 / 450.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000208/0.07535, allocations: 77.83 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.07537, allocations: 7.938 kB / 450.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.07538, allocations: 4.062 kB / 450.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.0754, allocations: 7.984 kB / 450.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.07549, allocations: 8 kB / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.07551, allocations: 0 / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.07557, allocations: 7.984 kB / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.07558, allocations: 3.984 kB / 450.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.167e-05/0.07566, allocations: 92.12 kB / 450.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.928e-05/0.07572, allocations: 30.52 kB / 451 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.535e-05/0.07581, allocations: 29.7 kB / 451 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.07581, allocations: 0 / 451 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001212/0.07594, allocations: 57.56 kB / 451 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.07595, allocations: 4 kB / 451.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.07596, allocations: 3.984 kB / 451.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-06/0.07597, allocations: 8.094 kB / 451.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.07602, allocations: 7.984 kB / 451.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.07602, allocations: 0 / 451.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.07607, allocations: 4 kB / 451.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-06/0.07608, allocations: 0 / 451.1 MB, free: 10.25 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.587e-05/0.07617, allocations: 184.2 kB / 451.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.0762, allocations: 7.906 kB / 451.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.07623, allocations: 11.08 kB / 451.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.07624, allocations: 4 kB / 451.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.07625, allocations: 3.984 kB / 451.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.07625, allocations: 0 / 451.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.07642, allocations: 169.6 kB / 451.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.07643, allocations: 0 / 451.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.0765, allocations: 15.92 kB / 451.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.07651, allocations: 0 / 451.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.07652, allocations: 0 / 451.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.07653, allocations: 0 / 451.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.07653, allocations: 4 kB / 451.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.07714, allocations: 0.9657 MB / 452.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.07719, allocations: 77.11 kB / 452.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.07721, allocations: 7.922 kB / 452.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.0773, allocations: 11.88 kB / 452.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.07735, allocations: 11.98 kB / 452.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.07735, allocations: 0 / 452.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.07739, allocations: 79.28 kB / 452.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0774, allocations: 0 / 452.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.07792, allocations: 8 kB / 452.6 MB, free: 8.562 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.591e-05/0.07801, allocations: 99.25 kB / 452.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.07828, allocations: 51.89 kB / 452.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.07829, allocations: 0 / 452.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.07838, allocations: 32.22 kB / 452.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.07861, allocations: 9 kB / 452.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.07902, allocations: 254.3 kB / 453.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.07926, allocations: 0.6768 MB / 453.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.0793, allocations: 11.44 kB / 453.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.0793, allocations: 0 / 453.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of Templates: time 0.001819/0.08113, allocations: 0.6485 MB / 454.4 MB, free: 6.703 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