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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.391/1.391, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 179] 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.06745/0.06745, allocations: 14.4 MB / 296.7 MB, free: 1.902 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.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=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "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.002348/0.002348, allocations: 67.89 kB / 416.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2346, allocations: 52.87 MB / 469.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001917/0.2365, allocations: 0.6769 MB / 470.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002386/0.2368, allocations: 67.88 kB / 470.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2368, allocations: 1.156 kB / 470.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.2368, allocations: 3.938 kB / 470.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.2369, allocations: 1.031 kB / 470.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.237, allocations: 15.2 kB / 470.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.2371, allocations: 22.83 kB / 470.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.2372, allocations: 10.2 kB / 470.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.2372, allocations: 16.66 kB / 470.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.2373, allocations: 23.31 kB / 470.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2373, allocations: 2.75 kB / 470.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-06/0.2373, allocations: 2.469 kB / 470.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.2373, allocations: 3.984 kB / 470.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2374, allocations: 10.09 kB / 470.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.2374, allocations: 24.05 kB / 470.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2375, allocations: 1.156 kB / 470.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2375, allocations: 0 / 470.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2375, allocations: 0 / 470.3 MB, free: 11.68 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.0004812/0.2379, allocations: 334.8 kB / 470.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.238, allocations: 9.594 kB / 470.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.238, allocations: 6.484 kB / 470.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2382, allocations: 166.8 kB / 470.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.2382, allocations: 1.438 kB / 470.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2382, allocations: 1.594 kB / 470.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2384, allocations: 79.92 kB / 470.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2384, allocations: 5.375 kB / 470.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2385, allocations: 3.938 kB / 470.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2385, allocations: 1.031 kB / 470.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.2386, allocations: 33.28 kB / 470.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.239, allocations: 274.5 kB / 471.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2392, allocations: 73.12 kB / 471.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2393, allocations: 30.48 kB / 471.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2393, allocations: 9.203 kB / 471.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2394, allocations: 35.66 kB / 471.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2394, allocations: 0 / 471.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003757/0.2397, allocations: 94.75 kB / 471.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.2398, allocations: 103.9 kB / 471.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.2399, allocations: 106.5 kB / 471.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2399, allocations: 30.83 kB / 471.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.24, allocations: 84.92 kB / 471.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.24, allocations: 9.141 kB / 471.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.2401, allocations: 13.66 kB / 471.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2402, allocations: 318.8 kB / 472.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.2403, allocations: 20.22 kB / 472.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.2404, allocations: 38.09 kB / 472.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2406, allocations: 51.92 kB / 472.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2406, allocations: 4 kB / 472.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002179/0.2408, allocations: 77.39 kB / 472.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2408, allocations: 5.906 kB / 472.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2408, allocations: 3.938 kB / 472.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2408, allocations: 5.219 kB / 472.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.2409, allocations: 11.64 kB / 472.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2409, allocations: 1.156 kB / 472.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.241, allocations: 16.81 kB / 472.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.241, allocations: 1.125 kB / 472.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.239e-05/0.2411, allocations: 89.77 kB / 472.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.534e-05/0.2411, allocations: 28.27 kB / 472.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.019e-05/0.2412, allocations: 29.48 kB / 472.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.2412, allocations: 32 / 472.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001326/0.2413, allocations: 60.88 kB / 472.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.2413, allocations: 5.625 kB / 472.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.2413, allocations: 1.281 kB / 472.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-06/0.2413, allocations: 0 / 472.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.2414, allocations: 5.594 kB / 472.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2414, allocations: 5.203 kB / 472.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.2414, allocations: 3.219 kB / 472.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.2414, allocations: 5.125 kB / 472.5 MB, free: 9.445 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.0001064/0.2415, allocations: 194.4 kB / 472.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.2416, allocations: 1.062 kB / 472.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.2416, allocations: 4.219 kB / 472.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2416, allocations: 1.062 kB / 472.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2416, allocations: 1.156 kB / 472.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2416, allocations: 5.016 kB / 472.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2418, allocations: 166.9 kB / 472.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2418, allocations: 1.156 kB / 472.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.2419, allocations: 14.61 kB / 472.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2419, allocations: 1.062 kB / 472.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2419, allocations: 1.094 kB / 472.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2419, allocations: 1.125 kB / 472.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2419, allocations: 0 / 472.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.2421, allocations: 184.5 kB / 473.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2422, allocations: 78.55 kB / 473.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2422, allocations: 1.219 kB / 473.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.2423, allocations: 8.047 kB / 473.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.2423, allocations: 10.23 kB / 473.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2423, allocations: 6.281 kB / 473.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.2424, allocations: 77.5 kB / 473.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2424, allocations: 0 / 473.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.2427, allocations: 7.25 kB / 473.3 MB, free: 8.672 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 9.779e-05/0.2428, allocations: 103.9 kB / 473.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.243, allocations: 52.17 kB / 473.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.243, allocations: 1.062 kB / 473.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.2431, allocations: 25.55 kB / 473.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2433, allocations: 14.86 kB / 473.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2438, allocations: 150.4 kB / 473.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2441, allocations: 0.6729 MB / 474.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.2441, allocations: 9.844 kB / 474.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2441, allocations: 0 / 474.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of Templates: time 0.002102/0.2462, allocations: 0.6527 MB / 475 MB, free: 7.332 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (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 & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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: 6.637652338016778]