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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00117/0.00117, allocations: 194.7 kB / 16.14 MB, free: 6.715 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.15/1.15, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0561/0.0561, allocations: 14.15 MB / 283.5 MB, free: 7.32 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.001292/0.001292, allocations: 71.88 kB / 344.5 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07494/0.07625, allocations: 50.14 MB / 394.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001813/0.07809, allocations: 0.7436 MB / 395.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.07832, allocations: 63.78 kB / 395.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.07836, allocations: 4 kB / 395.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.07842, allocations: 0 / 395.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.0785, allocations: 3.984 kB / 395.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.07864, allocations: 12 kB / 395.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.07872, allocations: 23.92 kB / 395.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.088e-05/0.07881, allocations: 7.984 kB / 395.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.07885, allocations: 11.92 kB / 395.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.0789, allocations: 11.98 kB / 395.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.07893, allocations: 4 kB / 395.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.07894, allocations: 4 kB / 395.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.07897, allocations: 11.92 kB / 395.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.07901, allocations: 7.938 kB / 395.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.0791, allocations: 19.91 kB / 395.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.07911, allocations: 0 / 395.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.07912, allocations: 0 / 395.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.07913, allocations: 0 / 395.6 MB, free: 0.6445 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.0004874/0.07962, allocations: 339.7 kB / 395.9 MB, free: 268 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.07967, allocations: 12.03 kB / 395.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.07972, allocations: 38.75 kB / 395.9 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.07975, allocations: 0.9375 kB / 395.9 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.07995, allocations: 172.4 kB / 396.1 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.07997, allocations: 384 / 396.1 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.07999, allocations: 4.375 kB / 396.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.0802, allocations: 72.8 kB / 396.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.08023, allocations: 3.938 kB / 396.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.08025, allocations: 11.94 kB / 396.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.08026, allocations: 0 / 396.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.08042, allocations: 31.97 kB / 396.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.0808, allocations: 265.8 kB / 396.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.081, allocations: 77 kB / 396.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.0811, allocations: 33.77 kB / 396.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.08113, allocations: 4 kB / 396.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.08116, allocations: 38.55 kB / 396.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.08116, allocations: 0 / 396.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003354/0.0815, allocations: 97.48 kB / 396.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.08157, allocations: 102.8 kB / 396.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.08164, allocations: 106.1 kB / 396.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.08165, allocations: 25.7 kB / 397 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.0817, allocations: 84.14 kB / 397 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.08172, allocations: 7.844 kB / 397 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.08176, allocations: 17.72 kB / 397.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.08185, allocations: 314.8 kB / 397.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.08194, allocations: 24.84 kB / 397.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.08203, allocations: 38.56 kB / 397.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.08218, allocations: 45.67 kB / 397.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.08219, allocations: 3.938 kB / 397.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001844/0.08238, allocations: 73.64 kB / 397.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.0824, allocations: 8 kB / 397.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.08241, allocations: 0 / 397.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.08242, allocations: 0 / 397.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.08251, allocations: 11.98 kB / 397.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.08252, allocations: 0 / 397.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.08258, allocations: 15.89 kB / 397.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.0826, allocations: 16 kB / 397.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.415e-05/0.08267, allocations: 84.14 kB / 397.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.704e-05/0.08273, allocations: 30.5 kB / 397.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.025e-05/0.0828, allocations: 29.7 kB / 397.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.08281, allocations: 0 / 397.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001143/0.08293, allocations: 61.59 kB / 397.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.08295, allocations: 8 kB / 397.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.08295, allocations: 0 / 397.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.08296, allocations: 0 / 397.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.083, allocations: 4 kB / 397.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/0.083, allocations: 0 / 397.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.08305, allocations: 11.92 kB / 397.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.08306, allocations: 4 kB / 397.8 MB, free: 14.05 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.373e-05/0.08314, allocations: 193.3 kB / 398 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.08317, allocations: 4 kB / 398 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.08319, allocations: 7.125 kB / 398 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0832, allocations: 0 / 398 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.08321, allocations: 0 / 398 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.08321, allocations: 0 / 398 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.08335, allocations: 165.6 kB / 398.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08336, allocations: 0 / 398.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.08343, allocations: 11.98 kB / 398.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.08343, allocations: 3.938 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.08345, allocations: 4 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.08346, allocations: 4 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08346, allocations: 0 / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.08367, allocations: 172.3 kB / 398.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.08372, allocations: 81.02 kB / 398.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.08374, allocations: 8 kB / 398.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.08382, allocations: 11.98 kB / 398.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.08386, allocations: 3.984 kB / 398.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.08387, allocations: 0 / 398.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.036e-05/0.08391, allocations: 79.7 kB / 398.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08391, allocations: 0 / 398.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.08417, allocations: 12 kB / 398.6 MB, free: 13.21 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.0004274/0.0846, allocations: 0.7094 MB / 399.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.08486, allocations: 59.95 kB / 399.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.08487, allocations: 0 / 399.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.08495, allocations: 23.97 kB / 399.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.08517, allocations: 11.94 kB / 399.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.08639, allocations: 1.281 MB / 400.7 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.08659, allocations: 0.6731 MB / 401.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.676e-05/0.08665, allocations: 7.984 kB / 401.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.08669, allocations: 11.44 kB / 401.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.0867, allocations: 0 / 401.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009977/0.09668, allocations: 1.248 MB / 402.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.09692, allocations: 173.4 kB / 402.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.577, allocations: 0 / 402.8 MB, free: 8.812 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