Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 159 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 158.6 MB / 184.2 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06346/0.06346, allocations: 10.65 MB / 247.1 MB, free: 10.43 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 368.6 MB, free: 20.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.931e-05, allocations: 2.281 kB / 368.6 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001499/0.001529, allocations: 0.6965 MB / 369.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.001763, allocations: 51.81 kB / 369.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.001813, allocations: 0 / 369.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.001844, allocations: 0 / 369.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.352e-05/0.001927, allocations: 7.922 kB / 369.3 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.002082, allocations: 12 kB / 369.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002184, allocations: 27.92 kB / 369.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.002297, allocations: 11.98 kB / 369.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.002339, allocations: 8 kB / 369.4 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.002387, allocations: 7.922 kB / 369.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.002418, allocations: 4 kB / 369.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.002427, allocations: 0 / 369.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.002443, allocations: 11.98 kB / 369.4 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.002464, allocations: 7.984 kB / 369.4 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.04e-05/0.002545, allocations: 19.86 kB / 369.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002547, allocations: 0 / 369.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002548, allocations: 0 / 369.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.002559, allocations: 4 kB / 369.5 MB, free: 20.12 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.0003484/0.002908, allocations: 258.4 kB / 369.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.002942, allocations: 8.031 kB / 369.7 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.002972, allocations: 4.891 kB / 369.7 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.003096, allocations: 117.7 kB / 369.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.003109, allocations: 4.375 kB / 369.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003121, allocations: 384 / 369.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.003299, allocations: 102.5 kB / 369.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.003309, allocations: 4.125 kB / 369.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003318, allocations: 4.375 kB / 370 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003322, allocations: 384 / 370 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.003478, allocations: 39.91 kB / 370 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.003751, allocations: 209.4 kB / 370.2 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.003905, allocations: 65.17 kB / 370.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.003994, allocations: 37.75 kB / 370.3 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.004017, allocations: 0 / 370.3 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.00403, allocations: 34.56 kB / 370.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004031, allocations: 0 / 370.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003366/0.004367, allocations: 97.47 kB / 370.4 MB, free: 19.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.004398, allocations: 107.1 kB / 370.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.004462, allocations: 97.86 kB / 370.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.004471, allocations: 25.7 kB / 370.6 MB, free: 18.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.004495, allocations: 92.06 kB / 370.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.004512, allocations: 11.94 kB / 370.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.00454, allocations: 13.72 kB / 370.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.004576, allocations: 310.8 kB / 371.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.004661, allocations: 24.84 kB / 371.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.004746, allocations: 64.25 kB / 371.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.004891, allocations: 49.72 kB / 371.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004893, allocations: 0 / 371.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001828/0.005076, allocations: 77.59 kB / 371.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005087, allocations: 7.938 kB / 371.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005091, allocations: 8 kB / 371.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.005106, allocations: 0 / 371.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.00519, allocations: 11.98 kB / 371.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005194, allocations: 4 kB / 371.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.005245, allocations: 4 kB / 371.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.005251, allocations: 0 / 371.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.568e-05/0.005307, allocations: 90.09 kB / 371.4 MB, free: 17.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.545e-05/0.005353, allocations: 60.2 kB / 371.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.989e-05/0.005422, allocations: 29.75 kB / 371.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.005423, allocations: 0 / 371.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001079/0.005531, allocations: 61.56 kB / 371.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.005536, allocations: 4 kB / 371.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.005537, allocations: 4 kB / 371.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.00554, allocations: 8.312 kB / 371.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.005573, allocations: 4 kB / 371.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.005574, allocations: 0 / 371.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.005611, allocations: 8.062 kB / 371.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-06/0.005614, allocations: 0 / 371.6 MB, free: 17.73 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 4.657e-05/0.00566, allocations: 184.2 kB / 371.8 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.005685, allocations: 4 kB / 371.8 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.005703, allocations: 19.19 kB / 371.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005705, allocations: 0 / 371.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.005709, allocations: 3.938 kB / 371.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005712, allocations: 0 / 371.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.005808, allocations: 113.2 kB / 371.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005809, allocations: 0 / 371.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.005862, allocations: 15.94 kB / 371.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005864, allocations: 0 / 371.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.005871, allocations: 3.984 kB / 371.9 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.005873, allocations: 3.938 kB / 371.9 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.005875, allocations: 4 kB / 371.9 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.006066, allocations: 172.3 kB / 372.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.006074, allocations: 0 / 372.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.006087, allocations: 0 / 372.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.006166, allocations: 23.86 kB / 372.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.006208, allocations: 0 / 372.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.006211, allocations: 0 / 372.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.893e-05/0.00623, allocations: 83.28 kB / 372.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00623, allocations: 0 / 372.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.006498, allocations: 8 kB / 372.2 MB, free: 17.05 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.473e-05/0.006573, allocations: 99.17 kB / 372.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.006821, allocations: 59.89 kB / 372.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006822, allocations: 0 / 372.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.006904, allocations: 23.98 kB / 372.4 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.007118, allocations: 2.969 kB / 372.4 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.0074, allocations: 129.7 kB / 372.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.007436, allocations: 63.72 kB / 372.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.00747, allocations: 4 kB / 372.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.007497, allocations: 8.5 kB / 372.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.007498, allocations: 0 / 372.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of Templates: time 0.002815/0.01031, allocations: 0.6622 MB / 373.2 MB, free: 15.96 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.158220335841179]