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.00144/0.00144, allocations: 109.7 kB / 16.28 MB, free: 6.113 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.001659/0.001659, allocations: 189.9 kB / 17.21 MB, free: 5.723 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0678/0.0678, allocations: 14.16 MB / 284.6 MB, free: 13.95 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.001611/0.001611, allocations: 75.83 kB / 345.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3123, allocations: 50.13 MB / 395.9 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001831/0.3142, allocations: 0.6784 MB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.3144, allocations: 59.34 kB / 396.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.3144, allocations: 0 / 396.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.3145, allocations: 0 / 396.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.3146, allocations: 5.719 kB / 396.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.3147, allocations: 19.92 kB / 396.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.3148, allocations: 33.66 kB / 396.7 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.3149, allocations: 7.641 kB / 396.7 MB, free: 47.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.3149, allocations: 17.02 kB / 396.7 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.315, allocations: 11.27 kB / 396.7 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.315, allocations: 2.062 kB / 396.7 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.315, allocations: 2.438 kB / 396.7 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.315, allocations: 11.88 kB / 396.7 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.3151, allocations: 9.891 kB / 396.7 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.44e-05/0.3151, allocations: 20.91 kB / 396.7 MB, free: 47.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3151, allocations: 0 / 396.7 MB, free: 47.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3151, allocations: 4 kB / 396.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3152, allocations: 1.469 kB / 396.8 MB, free: 47.25 MB / 318.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.0003425/0.3155, allocations: 333.4 kB / 397.1 MB, free: 46.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3155, allocations: 9.25 kB / 397.1 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.3156, allocations: 6.219 kB / 397.1 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3157, allocations: 171.4 kB / 397.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3157, allocations: 5.906 kB / 397.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3157, allocations: 1.625 kB / 397.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3159, allocations: 71.53 kB / 397.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3159, allocations: 192 / 397.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.316, allocations: 9.156 kB / 397.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.316, allocations: 1.094 kB / 397.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3161, allocations: 40.73 kB / 397.4 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.3164, allocations: 270.6 kB / 397.6 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.3166, allocations: 77.91 kB / 397.7 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.3167, allocations: 39.3 kB / 397.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3167, allocations: 0 / 397.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3168, allocations: 31.91 kB / 397.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3168, allocations: 1.25 kB / 397.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003396/0.3171, allocations: 95.23 kB / 397.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3171, allocations: 102.8 kB / 398 MB, free: 45.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.3172, allocations: 103.2 kB / 398.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3172, allocations: 25.7 kB / 398.1 MB, free: 45.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.3173, allocations: 89.77 kB / 398.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.3173, allocations: 5.656 kB / 398.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.3173, allocations: 17.34 kB / 398.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.3174, allocations: 315 kB / 398.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.3174, allocations: 28.2 kB / 398.6 MB, free: 45.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.3175, allocations: 38.44 kB / 398.6 MB, free: 45.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3177, allocations: 47 kB / 398.6 MB, free: 45.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3177, allocations: 1.25 kB / 398.6 MB, free: 45.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001884/0.3179, allocations: 76.25 kB / 398.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3179, allocations: 5.625 kB / 398.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3179, allocations: 0 / 398.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3179, allocations: 5.219 kB / 398.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.318, allocations: 12.33 kB / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.318, allocations: 0 / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.3181, allocations: 13.67 kB / 398.8 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3181, allocations: 5.031 kB / 398.8 MB, free: 45.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.782e-05/0.3182, allocations: 84.83 kB / 398.8 MB, free: 45.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.215e-05/0.3182, allocations: 28.78 kB / 398.9 MB, free: 45.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.336e-05/0.3183, allocations: 37.11 kB / 398.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.3183, allocations: 0 / 398.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001131/0.3184, allocations: 57.62 kB / 399 MB, free: 45.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.3185, allocations: 5.406 kB / 399 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.3185, allocations: 4.781 kB / 399 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.3185, allocations: 1.281 kB / 399 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.3185, allocations: 12.09 kB / 399 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/0.3185, allocations: 1.438 kB / 399 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.3186, allocations: 7.703 kB / 399 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.3186, allocations: 1.344 kB / 399 MB, free: 45.02 MB / 318.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.619e-05/0.3186, allocations: 182.4 kB / 399.2 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3186, allocations: 6.891 kB / 399.2 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.3187, allocations: 11.08 kB / 399.2 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3187, allocations: 1.5 kB / 399.2 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3187, allocations: 1.062 kB / 399.2 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3187, allocations: 4 kB / 399.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3188, allocations: 163.3 kB / 399.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3188, allocations: 1.25 kB / 399.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.3189, allocations: 11.92 kB / 399.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3189, allocations: 0 / 399.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3189, allocations: 5.969 kB / 399.4 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3189, allocations: 0 / 399.4 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.3189, allocations: 1.312 kB / 399.4 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3194, allocations: 0.9693 MB / 400.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.3194, allocations: 86.11 kB / 400.4 MB, free: 43.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3195, allocations: 1.125 kB / 400.4 MB, free: 43.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.3195, allocations: 12.52 kB / 400.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3196, allocations: 2.375 kB / 400.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3196, allocations: 1.062 kB / 400.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.3196, allocations: 86.77 kB / 400.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 400.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000497/0.3201, allocations: 6.656 kB / 400.5 MB, free: 43.42 MB / 318.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.982e-05/0.3202, allocations: 97.09 kB / 400.6 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3205, allocations: 56.17 kB / 400.7 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3205, allocations: 1.062 kB / 400.7 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.3206, allocations: 22.61 kB / 400.7 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.3208, allocations: 6.75 kB / 400.7 MB, free: 43.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.3212, allocations: 236.3 kB / 401 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3213, allocations: 0.6778 MB / 401.6 MB, free: 42.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.3213, allocations: 5.438 kB / 401.6 MB, free: 42.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3214, allocations: 9.594 kB / 401.6 MB, free: 42.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3214, allocations: 4.969 kB / 401.6 MB, free: 42.33 MB / 318.1 MB Notification: Performance of Templates: time 0.002583/0.324, allocations: 0.6403 MB / 402.3 MB, free: 42 MB / 318.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