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.00114/0.00114, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 201.1 kB / 16.8 MB, free: 6.824 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.221/1.221, allocations: 205.1 MB / 222.7 MB, free: 5.035 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05625/0.05625, allocations: 14.15 MB / 284.1 MB, free: 7.594 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.001251/0.001251, allocations: 64.12 kB / 345 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06996/0.07122, allocations: 50.14 MB / 395.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001706/0.07295, allocations: 0.7481 MB / 395.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.07317, allocations: 63.78 kB / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.07321, allocations: 0 / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.07324, allocations: 0 / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.07332, allocations: 3.938 kB / 396 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.07346, allocations: 23.98 kB / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.07354, allocations: 23.98 kB / 396 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.07363, allocations: 3.938 kB / 396 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.07366, allocations: 15.92 kB / 396.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.07372, allocations: 11.97 kB / 396.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.07374, allocations: 4 kB / 396.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.07376, allocations: 0 / 396.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.07378, allocations: 7.938 kB / 396.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.07381, allocations: 11.98 kB / 396.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.002e-05/0.07387, allocations: 19.92 kB / 396.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.07388, allocations: 0 / 396.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.07389, allocations: 0 / 396.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.07389, allocations: 0 / 396.1 MB, free: 0.7969 MB / 286.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.0003622/0.07426, allocations: 339.7 kB / 396.4 MB, free: 424 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.07429, allocations: 8.031 kB / 396.5 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.07433, allocations: 12.88 kB / 396.5 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.07446, allocations: 168.4 kB / 396.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.07447, allocations: 384 / 396.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.07449, allocations: 4.375 kB / 396.6 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.07467, allocations: 76.75 kB / 396.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.07468, allocations: 192 / 396.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.0747, allocations: 3.938 kB / 396.7 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.07471, allocations: 0 / 396.7 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.07486, allocations: 39.95 kB / 396.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.07519, allocations: 269.8 kB / 397 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.07535, allocations: 69.12 kB / 397.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.07545, allocations: 33.75 kB / 397.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.07548, allocations: 7.938 kB / 397.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.07551, allocations: 38.5 kB / 397.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.07551, allocations: 0 / 397.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003232/0.07584, allocations: 97.48 kB / 397.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.0759, allocations: 106.8 kB / 397.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.07597, allocations: 97.84 kB / 397.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.07599, allocations: 29.7 kB / 397.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.07603, allocations: 80.14 kB / 397.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.07605, allocations: 11.89 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.07608, allocations: 17.97 kB / 397.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.07619, allocations: 314.8 kB / 397.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.07628, allocations: 20.84 kB / 397.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.07636, allocations: 38.55 kB / 398 MB, free: 14.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.07651, allocations: 53.66 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.07652, allocations: 0 / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001871/0.07671, allocations: 73.59 kB / 398.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.07673, allocations: 4 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.07674, allocations: 4.062 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.07676, allocations: 7.938 kB / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.07684, allocations: 11.98 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.07685, allocations: 0 / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.07691, allocations: 4 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.07692, allocations: 0 / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.818e-05/0.07699, allocations: 96.12 kB / 398.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.361e-05/0.07704, allocations: 26.84 kB / 398.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.209e-05/0.07713, allocations: 29.75 kB / 398.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.07714, allocations: 0 / 398.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001115/0.07726, allocations: 61.47 kB / 398.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.07727, allocations: 7.984 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.07728, allocations: 0 / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.07728, allocations: 8.094 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.619e-05/0.07733, allocations: 11.98 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.07734, allocations: 3.984 kB / 398.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.07738, allocations: 4 kB / 398.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.07739, allocations: 0 / 398.4 MB, free: 14.25 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 7.948e-05/0.07747, allocations: 205.1 kB / 398.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.0775, allocations: 0 / 398.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.07753, allocations: 15.06 kB / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.07754, allocations: 0 / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.07755, allocations: 4 kB / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.07755, allocations: 0 / 398.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.07771, allocations: 169.6 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.07771, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.07778, allocations: 8 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.07778, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.07779, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.0778, allocations: 3.984 kB / 398.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.07781, allocations: 4 kB / 398.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.07829, allocations: 0.7325 MB / 399.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.07834, allocations: 85.09 kB / 399.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.07836, allocations: 0 / 399.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.07844, allocations: 8 kB / 399.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.07848, allocations: 15.92 kB / 399.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.07849, allocations: 0 / 399.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.07852, allocations: 79.28 kB / 399.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.07853, allocations: 0 / 399.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.079, allocations: 11.94 kB / 399.7 MB, free: 12.78 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.519e-05/0.07908, allocations: 99.23 kB / 399.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.07931, allocations: 55.89 kB / 399.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.07932, allocations: 0 / 399.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.07941, allocations: 23.98 kB / 399.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.07961, allocations: 0 / 399.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.07995, allocations: 238.5 kB / 400.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.08017, allocations: 0.677 MB / 400.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.08022, allocations: 7.984 kB / 400.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.08026, allocations: 11.44 kB / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08026, allocations: 0 / 400.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002052/0.08232, allocations: 0.5358 MB / 401.3 MB, free: 11.06 MB / 302.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=50 -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","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches