Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007194/0.0007195, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00385/0.00385, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.204/1.204, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05603/0.05603, allocations: 14.15 MB / 284.9 MB, free: 7.039 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.0004211/0.0004211, allocations: 16.2 kB / 346.9 MB, free: 19.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07203, allocations: 51.1 MB / 398 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009447/0.07303, allocations: 430.4 kB / 398.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.07325, allocations: 59.8 kB / 398.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.0733, allocations: 4 kB / 398.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.07332, allocations: 0 / 398.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.537e-05/0.07343, allocations: 3.984 kB / 398.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.07357, allocations: 15.94 kB / 398.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.07366, allocations: 19.98 kB / 398.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.07375, allocations: 4 kB / 398.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.07379, allocations: 15.92 kB / 398.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.07386, allocations: 11.98 kB / 398.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.07388, allocations: 0 / 398.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.0739, allocations: 4 kB / 398.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.07392, allocations: 11.81 kB / 398.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.07397, allocations: 37.67 kB / 398.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.959e-05/0.07403, allocations: 19.91 kB / 398.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.07404, allocations: 4 kB / 398.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.07405, allocations: 0 / 398.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.07406, allocations: 0 / 398.6 MB, free: 15.66 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.0003792/0.07445, allocations: 335.7 kB / 398.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.07449, allocations: 8.031 kB / 398.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.07453, allocations: 34.75 kB / 399 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.07457, allocations: 0.9375 kB / 399 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.07473, allocations: 176.4 kB / 399.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.07474, allocations: 384 / 399.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.07476, allocations: 384 / 399.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.07497, allocations: 80.73 kB / 399.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.07499, allocations: 3.938 kB / 399.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.07502, allocations: 8 kB / 399.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.07503, allocations: 4 kB / 399.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.07521, allocations: 39.97 kB / 399.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.07556, allocations: 273.8 kB / 399.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.07574, allocations: 81.06 kB / 399.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.07585, allocations: 37.7 kB / 399.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.07588, allocations: 0 / 399.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.07591, allocations: 38.5 kB / 399.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.07592, allocations: 0 / 399.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003673/0.07629, allocations: 105.5 kB / 399.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.07636, allocations: 107 kB / 399.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.07643, allocations: 105.8 kB / 400 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.07645, allocations: 25.7 kB / 400 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.0765, allocations: 84.14 kB / 400.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.07652, allocations: 7.906 kB / 400.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.07655, allocations: 9.719 kB / 400.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.07664, allocations: 314.8 kB / 400.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.07674, allocations: 27.97 kB / 400.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.07684, allocations: 42.73 kB / 400.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.07702, allocations: 57.72 kB / 400.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.07703, allocations: 3.938 kB / 400.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002082/0.07724, allocations: 77.59 kB / 400.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.07731, allocations: 105.9 kB / 400.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.07732, allocations: 0 / 400.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.07733, allocations: 0 / 400.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.07744, allocations: 15.98 kB / 400.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.07745, allocations: 3.938 kB / 400.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.07752, allocations: 19.92 kB / 400.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.07753, allocations: 0 / 400.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.07754, allocations: 7.938 kB / 400.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.932e-05/0.07764, allocations: 19.98 kB / 400.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.07765, allocations: 4 kB / 400.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.07765, allocations: 0 / 400.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.0777, allocations: 7.938 kB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-06/0.0777, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.07775, allocations: 19.89 kB / 400.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-06/0.07776, allocations: 0 / 400.8 MB, free: 13.12 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 8.687e-05/0.07785, allocations: 193.1 kB / 401 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.07788, allocations: 3.938 kB / 401 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.07791, allocations: 11.12 kB / 401.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.07792, allocations: 0 / 401.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.07793, allocations: 3.938 kB / 401.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.07793, allocations: 0 / 401.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.07809, allocations: 169.6 kB / 401.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.0781, allocations: 7.938 kB / 401.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.07817, allocations: 11.98 kB / 401.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.07818, allocations: 4 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.07819, allocations: 0 / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.07819, allocations: 0 / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0782, allocations: 0 / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.07845, allocations: 184.3 kB / 401.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.07849, allocations: 81.05 kB / 401.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.07851, allocations: 0 / 401.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.0786, allocations: 11.98 kB / 401.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.07864, allocations: 12 kB / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.07865, allocations: 0 / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.07869, allocations: 83.27 kB / 401.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0787, allocations: 0 / 401.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.07895, allocations: 8 kB / 401.6 MB, free: 12.25 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 0.0005225/0.07948, allocations: 0.7209 MB / 402.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.07975, allocations: 63.95 kB / 402.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.07976, allocations: 0 / 402.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.07986, allocations: 23.98 kB / 402.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.08007, allocations: 4 kB / 402.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.08142, allocations: 1.293 MB / 403.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.08166, allocations: 0.677 MB / 404.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.08171, allocations: 11.94 kB / 404.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.08175, allocations: 11.44 kB / 404.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08176, allocations: 0 / 404.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009852/0.09161, allocations: 1.189 MB / 405.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.09185, allocations: 177.8 kB / 405.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/1.632, allocations: 3.938 kB / 405.8 MB, free: 7.914 MB / 302.1 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches