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.001433/0.001433, allocations: 111.5 kB / 16.41 MB, free: 6.477 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.001691/0.001691, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.489/1.489, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06527/0.06527, allocations: 14.17 MB / 284.7 MB, free: 13.85 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.001384/0.001384, allocations: 71.5 kB / 397.2 MB, free: 44.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08747, allocations: 50.14 MB / 447.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002005/0.08951, allocations: 0.6785 MB / 448 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.08977, allocations: 60.14 kB / 448 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.08982, allocations: 0 / 448 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.08986, allocations: 7.938 kB / 448 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.08997, allocations: 4 kB / 448 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.09013, allocations: 23.91 kB / 448.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.09023, allocations: 23.92 kB / 448.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.09034, allocations: 8 kB / 448.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.09039, allocations: 7.984 kB / 448.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.09045, allocations: 19.92 kB / 448.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.09048, allocations: 4 kB / 448.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.09049, allocations: 0 / 448.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.09052, allocations: 11.92 kB / 448.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.09055, allocations: 11.94 kB / 448.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.09064, allocations: 23.84 kB / 448.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09065, allocations: 0 / 448.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.09066, allocations: 3.984 kB / 448.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.09067, allocations: 0 / 448.2 MB, free: 12.9 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.0004178/0.09109, allocations: 335.5 kB / 448.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.09113, allocations: 12.03 kB / 448.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.09117, allocations: 0.9375 kB / 448.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.09134, allocations: 172.4 kB / 448.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.09136, allocations: 384 / 448.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.09137, allocations: 384 / 448.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.09158, allocations: 72.75 kB / 448.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.0916, allocations: 4.188 kB / 448.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.09162, allocations: 7.938 kB / 448.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.09163, allocations: 3.984 kB / 448.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.0918, allocations: 35.97 kB / 448.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.09216, allocations: 265.8 kB / 449.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.09236, allocations: 73.09 kB / 449.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.09246, allocations: 33.77 kB / 449.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.09249, allocations: 0 / 449.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.09254, allocations: 38.5 kB / 449.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.09255, allocations: 0 / 449.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003578/0.09291, allocations: 93.59 kB / 449.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.09298, allocations: 106.8 kB / 449.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.09306, allocations: 106.1 kB / 449.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.09309, allocations: 25.7 kB / 449.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.09313, allocations: 84.14 kB / 449.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.09316, allocations: 11.89 kB / 449.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.0932, allocations: 13.72 kB / 449.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09331, allocations: 310.8 kB / 449.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.09341, allocations: 32.83 kB / 450 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.09351, allocations: 34.56 kB / 450 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.09367, allocations: 45.62 kB / 450.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.09368, allocations: 0 / 450.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002051/0.09389, allocations: 85.56 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.09392, allocations: 8 kB / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.09393, allocations: 0 / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.09395, allocations: 0 / 450.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.09404, allocations: 11.98 kB / 450.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.09406, allocations: 3.938 kB / 450.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.09414, allocations: 20.22 kB / 450.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.09415, allocations: 4 kB / 450.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.475e-05/0.09423, allocations: 84.14 kB / 450.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.26e-05/0.09429, allocations: 30.55 kB / 450.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.799e-05/0.09438, allocations: 29.7 kB / 450.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.09439, allocations: 0 / 450.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001378/0.09453, allocations: 61.59 kB / 450.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.09455, allocations: 8 kB / 450.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.09455, allocations: 0 / 450.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-06/0.09456, allocations: 0 / 450.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.0946, allocations: 4 kB / 450.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.09461, allocations: 0 / 450.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.09466, allocations: 11.98 kB / 450.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.09467, allocations: 4 kB / 450.4 MB, free: 10.36 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.634e-05/0.09477, allocations: 184.3 kB / 450.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.0948, allocations: 8 kB / 450.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.09483, allocations: 7.078 kB / 450.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.09485, allocations: 0 / 450.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.09486, allocations: 3.938 kB / 450.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.09486, allocations: 0 / 450.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.09503, allocations: 169.6 kB / 450.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.09503, allocations: 0 / 450.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.0951, allocations: 15.98 kB / 450.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.09512, allocations: 4 kB / 450.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.09513, allocations: 0 / 450.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.09514, allocations: 4 kB / 450.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09515, allocations: 0 / 450.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.09577, allocations: 0.9657 MB / 451.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.09582, allocations: 77.11 kB / 451.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.09584, allocations: 7.875 kB / 451.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.09593, allocations: 15.92 kB / 451.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.09598, allocations: 4 kB / 451.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.09599, allocations: 8 kB / 451.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.09604, allocations: 79.27 kB / 452 MB, free: 8.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.09604, allocations: 0 / 452 MB, free: 8.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005417/0.09659, allocations: 8 kB / 452 MB, free: 8.668 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 9.188e-05/0.09669, allocations: 95.25 kB / 452.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.09696, allocations: 60.02 kB / 452.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09698, allocations: 0 / 452.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.09709, allocations: 23.92 kB / 452.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.09732, allocations: 4 kB / 452.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.09772, allocations: 224.7 kB / 452.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.09798, allocations: 0.6807 MB / 453 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.09803, allocations: 4 kB / 453 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.09806, allocations: 7.438 kB / 453.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09807, allocations: 4 kB / 453.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Templates: time 0.002597/0.1007, allocations: 0.6362 MB / 453.7 MB, free: 6.859 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches