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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 108.6 kB / 20.34 MB, free: 1.574 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.002156/0.002156, allocations: 185.4 kB / 23.6 MB, free: 5.09 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.457/1.457, allocations: 207.6 MB / 234.3 MB, free: 10.02 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.07296/0.07296, allocations: 14.37 MB / 300.9 MB, free: 7.508 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_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.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.002411/0.002411, allocations: 71.91 kB / 422.3 MB, free: 38.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08881, allocations: 52.9 MB / 475.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002892/0.0917, allocations: 0.6783 MB / 475.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.09199, allocations: 67.69 kB / 475.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.09204, allocations: 4 kB / 475.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.09209, allocations: 3.984 kB / 475.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.09219, allocations: 3.938 kB / 475.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.09239, allocations: 23.97 kB / 475.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.09251, allocations: 23.92 kB / 476 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.09262, allocations: 4 kB / 476 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.09267, allocations: 11.98 kB / 476 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.09274, allocations: 15.92 kB / 476 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.09277, allocations: 4 kB / 476 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.09278, allocations: 4 kB / 476 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.0928, allocations: 4 kB / 476 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.09285, allocations: 15.92 kB / 476 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.09296, allocations: 23.84 kB / 476 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09296, allocations: 0 / 476 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09296, allocations: 0 / 476 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09297, allocations: 0 / 476 MB, free: 0.9844 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.0005672/0.09353, allocations: 262.3 kB / 476.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.09358, allocations: 12.03 kB / 476.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.09362, allocations: 4.938 kB / 476.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.09384, allocations: 110.5 kB / 476.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.09385, allocations: 384 / 476.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.09387, allocations: 4.375 kB / 476.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.09417, allocations: 80.78 kB / 476.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.09418, allocations: 192 / 476.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.09422, allocations: 3.938 kB / 476.5 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09422, allocations: 7.938 kB / 476.5 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.09448, allocations: 35.91 kB / 476.6 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.09501, allocations: 236.9 kB / 476.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.09527, allocations: 73.12 kB / 476.9 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.09543, allocations: 33.7 kB / 476.9 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.09545, allocations: 0 / 476.9 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.09549, allocations: 34.56 kB / 476.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.09549, allocations: 4 kB / 476.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005261/0.09601, allocations: 97.53 kB / 477 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.0961, allocations: 102.8 kB / 477.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.0962, allocations: 101.8 kB / 477.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.09623, allocations: 25.95 kB / 477.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.09629, allocations: 88.14 kB / 477.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.09632, allocations: 11.89 kB / 477.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.09637, allocations: 17.72 kB / 477.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.09654, allocations: 314.8 kB / 477.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.09667, allocations: 24.84 kB / 477.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.09682, allocations: 38.5 kB / 477.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.09704, allocations: 45.69 kB / 477.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.09705, allocations: 4 kB / 477.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.09736, allocations: 81.56 kB / 477.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.09738, allocations: 8 kB / 477.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.09739, allocations: 0 / 477.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.09741, allocations: 0 / 477.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.09753, allocations: 11.98 kB / 477.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.09753, allocations: 0 / 477.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.09762, allocations: 11.94 kB / 477.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.09763, allocations: 4 kB / 477.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001178/0.09775, allocations: 92.2 kB / 478 MB, free: 14.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.96e-05/0.09783, allocations: 22.56 kB / 478 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001455/0.09797, allocations: 33.64 kB / 478 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.09798, allocations: 0 / 478 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0002127/0.09819, allocations: 61.62 kB / 478.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.09821, allocations: 10.34 kB / 478.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.09821, allocations: 0 / 478.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.09821, allocations: 0 / 478.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.09827, allocations: 4 kB / 478.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.09828, allocations: 0 / 478.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.09836, allocations: 11.98 kB / 478.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.09837, allocations: 4 kB / 478.1 MB, free: 14.63 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.000139/0.0985, allocations: 180.2 kB / 478.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.09855, allocations: 8.031 kB / 478.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.09859, allocations: 15.2 kB / 478.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.09859, allocations: 384 / 478.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.0986, allocations: 0 / 478.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0986, allocations: 0 / 478.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.09888, allocations: 144.6 kB / 478.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.09888, allocations: 0 / 478.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.09898, allocations: 11.98 kB / 478.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.09899, allocations: 3.984 kB / 478.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.099, allocations: 4 kB / 478.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.099, allocations: 4 kB / 478.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.09901, allocations: 0 / 478.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1001, allocations: 0.9695 MB / 479.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.1001, allocations: 4 kB / 479.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1001, allocations: 4 kB / 479.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1003, allocations: 11.92 kB / 479.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1003, allocations: 0 / 479.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1003, allocations: 8 kB / 479.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.1004, allocations: 83.27 kB / 479.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1004, allocations: 4 kB / 479.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009748/0.1014, allocations: 8 kB / 479.6 MB, free: 13.06 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.0001786/0.1016, allocations: 91.25 kB / 479.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.102, allocations: 55.89 kB / 479.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.102, allocations: 256 / 479.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1021, allocations: 27.98 kB / 479.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1025, allocations: 0 / 479.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.1031, allocations: 236.3 kB / 480 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1035, allocations: 0.6807 MB / 480.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.1036, allocations: 4.125 kB / 480.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.1037, allocations: 11.44 kB / 480.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1037, allocations: 0 / 480.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004551/0.1082, allocations: 0.6678 MB / 481.3 MB, free: 11.22 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=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] 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: 4.586502129997825]