Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_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_dev_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.001295/0.001295, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001275/0.001275, allocations: 189.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08462/0.08462, allocations: 16.68 MB / 307.7 MB, free: 14.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 66.53 kB / 372.3 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09133, allocations: 53.57 MB / 425.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001876/0.09324, allocations: 0.6644 MB / 426.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.09347, allocations: 71.78 kB / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.09352, allocations: 0 / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.09356, allocations: 7.875 kB / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.09364, allocations: 0 / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.09379, allocations: 15.92 kB / 426.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.09388, allocations: 23.98 kB / 426.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.09398, allocations: 11.98 kB / 426.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.09401, allocations: 8 kB / 426.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.09406, allocations: 19.92 kB / 426.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.09408, allocations: 0 / 426.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.0941, allocations: 7.938 kB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.09412, allocations: 7.969 kB / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.09415, allocations: 7.938 kB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.455e-05/0.09422, allocations: 19.91 kB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.09423, allocations: 4 kB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09423, allocations: 0 / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.09424, allocations: 0 / 426.7 MB, free: 11.96 MB / 302.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.0003349/0.09458, allocations: 332.6 kB / 427 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.09462, allocations: 15.97 kB / 427.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.09466, allocations: 4.938 kB / 427.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.09478, allocations: 168.7 kB / 427.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.0948, allocations: 384 / 427.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.09482, allocations: 8.359 kB / 427.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.09499, allocations: 80.73 kB / 427.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.09501, allocations: 4.188 kB / 427.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.09503, allocations: 3.938 kB / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.09504, allocations: 0 / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.0952, allocations: 35.97 kB / 427.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.09551, allocations: 273.8 kB / 427.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.09568, allocations: 77.19 kB / 427.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.09577, allocations: 29.77 kB / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.0958, allocations: 0 / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.09583, allocations: 42.5 kB / 427.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.09583, allocations: 0 / 427.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000335/0.09617, allocations: 89.55 kB / 427.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.09622, allocations: 110.8 kB / 428 MB, free: 10.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.09629, allocations: 106.1 kB / 428.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.0963, allocations: 25.7 kB / 428.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.09633, allocations: 88.12 kB / 428.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.09635, allocations: 3.906 kB / 428.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.09639, allocations: 13.72 kB / 428.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.09643, allocations: 318.8 kB / 428.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.09652, allocations: 20.84 kB / 428.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.09661, allocations: 42.5 kB / 428.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.09676, allocations: 49.69 kB / 428.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09677, allocations: 3.938 kB / 428.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001769/0.09695, allocations: 77.62 kB / 428.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.09697, allocations: 4 kB / 428.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.09698, allocations: 0 / 428.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.097, allocations: 0 / 428.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.09709, allocations: 11.98 kB / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.0971, allocations: 0 / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.09716, allocations: 15.92 kB / 428.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.09717, allocations: 4.062 kB / 428.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.528e-05/0.09723, allocations: 89.02 kB / 428.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.066e-05/0.09728, allocations: 26.56 kB / 428.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.927e-05/0.09735, allocations: 29.7 kB / 428.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.09736, allocations: 0 / 428.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001081/0.09747, allocations: 65.5 kB / 428.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.09749, allocations: 4 kB / 428.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.09749, allocations: 3.938 kB / 429 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-06/0.0975, allocations: 0 / 429 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.09754, allocations: 8 kB / 429 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-06/0.09754, allocations: 0 / 429 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.09759, allocations: 7.984 kB / 429 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-06/0.0976, allocations: 0 / 429 MB, free: 9.41 MB / 302.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 5.125e-05/0.09765, allocations: 192.3 kB / 429.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.09768, allocations: 0 / 429.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.0977, allocations: 3.125 kB / 429.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.09771, allocations: 384 / 429.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.09772, allocations: 4 kB / 429.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.09773, allocations: 3.938 kB / 429.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.09785, allocations: 165.6 kB / 429.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09785, allocations: 3.984 kB / 429.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.09792, allocations: 11.98 kB / 429.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.09793, allocations: 8 kB / 429.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.09794, allocations: 4 kB / 429.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09794, allocations: 0 / 429.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.09795, allocations: 3.938 kB / 429.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.09815, allocations: 172.3 kB / 429.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.09818, allocations: 85.02 kB / 429.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.0982, allocations: 4 kB / 429.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.09829, allocations: 7.984 kB / 429.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.09834, allocations: 7.938 kB / 429.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.09835, allocations: 4 kB / 429.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.09837, allocations: 83.27 kB / 429.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09838, allocations: 0 / 429.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.09865, allocations: 7.938 kB / 429.7 MB, free: 8.559 MB / 302.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 7.24e-05/0.09872, allocations: 103.2 kB / 429.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.09898, allocations: 51.89 kB / 429.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.09899, allocations: 0 / 429.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.09908, allocations: 23.98 kB / 429.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.0993, allocations: 4.312 kB / 429.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.09962, allocations: 155.5 kB / 430.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.09972, allocations: 0.6729 MB / 430.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.09976, allocations: 11.44 kB / 430.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09976, allocations: 0 / 430.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of Templates: time 0.001899/0.1017, allocations: 0.6534 MB / 431.4 MB, free: 6.816 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches