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.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.001792/0.001792, allocations: 115.7 kB / 19.7 MB, free: 2.18 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.001894/0.001894, allocations: 211.5 kB / 23.01 MB, free: 4.996 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.658/1.658, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.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.07123/0.07123, allocations: 14.39 MB / 300.4 MB, free: 7.449 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.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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 72.45 kB / 421.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09282, allocations: 52.9 MB / 474.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001869/0.09469, allocations: 0.6818 MB / 475.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.09494, allocations: 67.72 kB / 475.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.09498, allocations: 4 kB / 475.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.09501, allocations: 7.875 kB / 475.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.09508, allocations: 0 / 475.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.09524, allocations: 23.92 kB / 475.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.09534, allocations: 27.92 kB / 475.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.09544, allocations: 3.984 kB / 475.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.09548, allocations: 8 kB / 475.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.09554, allocations: 15.92 kB / 475.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.09555, allocations: 4 kB / 475.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.09556, allocations: 8 kB / 475.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.09558, allocations: 7.984 kB / 475.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.09561, allocations: 11.92 kB / 475.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.0957, allocations: 23.86 kB / 475.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.0957, allocations: 4 kB / 475.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0957, allocations: 0 / 475.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09571, allocations: 0 / 475.7 MB, free: 0.9102 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.0004484/0.09616, allocations: 258.3 kB / 475.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.09619, allocations: 8.031 kB / 475.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.09623, allocations: 8.938 kB / 475.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.09638, allocations: 106.5 kB / 476 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.09639, allocations: 8.312 kB / 476.1 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.0964, allocations: 384 / 476.1 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.09661, allocations: 72.81 kB / 476.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.09662, allocations: 192 / 476.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.09663, allocations: 3.938 kB / 476.1 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.09664, allocations: 4 kB / 476.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.09682, allocations: 47.88 kB / 476.2 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.0972, allocations: 232.9 kB / 476.4 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.09741, allocations: 73.12 kB / 476.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.09751, allocations: 29.7 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.09753, allocations: 3.984 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.09756, allocations: 38.56 kB / 476.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.09756, allocations: 4 kB / 476.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000384/0.09794, allocations: 89.55 kB / 476.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.09802, allocations: 106.8 kB / 476.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.0981, allocations: 97.86 kB / 476.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.09812, allocations: 29.95 kB / 476.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.09818, allocations: 92.06 kB / 477 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.0982, allocations: 7.891 kB / 477 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.09824, allocations: 21.7 kB / 477 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.09837, allocations: 310.8 kB / 477.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.09847, allocations: 28.78 kB / 477.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.09858, allocations: 42.55 kB / 477.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.09874, allocations: 53.62 kB / 477.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.09875, allocations: 0 / 477.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002145/0.09896, allocations: 77.58 kB / 477.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.09898, allocations: 7.984 kB / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.09898, allocations: 0 / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.09899, allocations: 0 / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.09908, allocations: 8 kB / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.09909, allocations: 4 kB / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.09916, allocations: 11.94 kB / 477.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.09916, allocations: 0 / 477.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.07e-05/0.09925, allocations: 92.19 kB / 477.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.228e-05/0.0993, allocations: 30.58 kB / 477.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.493e-05/0.09939, allocations: 33.64 kB / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.09939, allocations: 0 / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001528/0.09954, allocations: 49.69 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.09955, allocations: 8.031 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-06/0.09955, allocations: 0 / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-06/0.09955, allocations: 0 / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.0996, allocations: 19.92 kB / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.0996, allocations: 0 / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.09964, allocations: 4 kB / 477.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-06/0.09965, allocations: 0 / 477.8 MB, free: 14.56 MB / 350.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.000111/0.09976, allocations: 184.2 kB / 477.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.09978, allocations: 4 kB / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.09981, allocations: 15.25 kB / 478 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.09981, allocations: 4 kB / 478 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.09981, allocations: 0 / 478 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.09982, allocations: 0 / 478 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.09999, allocations: 128.7 kB / 478.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09999, allocations: 7.938 kB / 478.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1001, allocations: 11.98 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1001, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1001, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1001, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1001, allocations: 4 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.1008, allocations: 0.97 MB / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.1008, allocations: 4 kB / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1008, allocations: 3.984 kB / 479.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.1009, allocations: 11.94 kB / 479.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.101, allocations: 15.91 kB / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.101, allocations: 3.938 kB / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.101, allocations: 83.28 kB / 479.2 MB, free: 13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.101, allocations: 4 kB / 479.2 MB, free: 13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.1015, allocations: 8 kB / 479.2 MB, free: 12.99 MB / 350.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.0001013/0.1016, allocations: 91.25 kB / 479.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1019, allocations: 55.89 kB / 479.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1019, allocations: 0 / 479.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.102, allocations: 28.22 kB / 479.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1022, allocations: 5.562 kB / 479.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.1027, allocations: 228.3 kB / 479.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.103, allocations: 0.6768 MB / 480.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.1031, allocations: 12.12 kB / 480.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1031, allocations: 7.438 kB / 480.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1031, allocations: 0 / 480.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003183/0.1063, allocations: 0.6565 MB / 481 MB, free: 11.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (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) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0699346299952595]