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.001662/0.001662, allocations: 107.2 kB / 16.42 MB, free: 6.5 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.001761/0.001762, allocations: 185.5 kB / 17.35 MB, free: 5.762 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.6/1.6, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0659/0.0659, allocations: 14.17 MB / 284.8 MB, free: 13.86 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.001473/0.001473, allocations: 72.92 kB / 397.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 50.14 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002171/0.1184, allocations: 0.6796 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.1187, allocations: 60.14 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.1187, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.1188, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.1189, allocations: 3.984 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1191, allocations: 19.92 kB / 448.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1192, allocations: 27.92 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1194, allocations: 0 / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.1194, allocations: 15.97 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1196, allocations: 19.92 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1196, allocations: 7.938 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.1196, allocations: 4 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.1197, allocations: 4 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1197, allocations: 11.92 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.1198, allocations: 19.92 kB / 448.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1198, allocations: 4 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1198, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1198, allocations: 0 / 448.2 MB, free: 12.8 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.0006506/0.1205, allocations: 335.5 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1206, allocations: 8.031 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1206, allocations: 4.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1208, allocations: 168.3 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1209, allocations: 4.375 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1209, allocations: 4.375 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1211, allocations: 72.75 kB / 448.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1212, allocations: 4.188 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1212, allocations: 3.938 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1212, allocations: 0 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.1214, allocations: 35.95 kB / 448.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1219, allocations: 269.8 kB / 449.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1221, allocations: 77.12 kB / 449.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1222, allocations: 33.75 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1222, allocations: 0 / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1223, allocations: 42.5 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1223, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.1226, allocations: 89.58 kB / 449.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.1228, allocations: 102.8 kB / 449.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.1229, allocations: 102.1 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1229, allocations: 29.7 kB / 449.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.123, allocations: 80.14 kB / 449.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.123, allocations: 19.67 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1231, allocations: 17.72 kB / 449.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1232, allocations: 310.8 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.1233, allocations: 24.84 kB / 450 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.1234, allocations: 42.55 kB / 450 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1236, allocations: 49.62 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1236, allocations: 0 / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001944/0.1238, allocations: 81.56 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1238, allocations: 4 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1238, allocations: 288 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1239, allocations: 0 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.124, allocations: 15.92 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.124, allocations: 0 / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.124, allocations: 12 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.1241, allocations: 4.062 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.626e-05/0.1241, allocations: 88.12 kB / 450.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.285e-05/0.1242, allocations: 34.55 kB / 450.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.193e-05/0.1243, allocations: 25.72 kB / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.1243, allocations: 0 / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000117/0.1244, allocations: 61.59 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.1244, allocations: 4 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1244, allocations: 7.969 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-06/0.1244, allocations: 0 / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.1245, allocations: 8 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-06/0.1245, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1245, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-06/0.1245, allocations: 0 / 450.4 MB, free: 10.27 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 0.0001718/0.1247, allocations: 188.2 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1248, allocations: 11.89 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.1248, allocations: 15.08 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1248, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1248, allocations: 4 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1248, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1251, allocations: 161.6 kB / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1251, allocations: 0 / 450.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.1251, allocations: 8 kB / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1251, allocations: 8 kB / 450.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1252, allocations: 0 / 450.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1252, allocations: 0 / 450.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1252, allocations: 3.984 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.1259, allocations: 0.9657 MB / 451.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.126, allocations: 77.11 kB / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.126, allocations: 11.88 kB / 451.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1261, allocations: 11.92 kB / 451.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1261, allocations: 4 kB / 451.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1261, allocations: 4 kB / 451.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1263, allocations: 83.28 kB / 451.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1263, allocations: 0 / 451.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1268, allocations: 4 kB / 451.9 MB, free: 8.574 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 0.0001462/0.1269, allocations: 103.2 kB / 452.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.1272, allocations: 56.14 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1272, allocations: 3.938 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.1273, allocations: 23.98 kB / 452.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1275, allocations: 0.9375 kB / 452.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1281, allocations: 232.6 kB / 452.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1284, allocations: 0.6843 MB / 453 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.1285, allocations: 3.984 kB / 453 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.1285, allocations: 11.44 kB / 453.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1285, allocations: 4 kB / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of Templates: time 0.003051/0.1316, allocations: 0.6276 MB / 453.7 MB, free: 6.758 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=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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches