Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 111.6 kB / 16.42 MB, free: 6.461 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.002146/0.002146, allocations: 188.2 kB / 17.35 MB, free: 5.711 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.514/1.514, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06639/0.06639, allocations: 14.16 MB / 284.8 MB, free: 13.85 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.002059/0.002059, allocations: 73.02 kB / 397.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08567, allocations: 50.14 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001905/0.08761, allocations: 0.6707 MB / 448 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.08788, allocations: 64.12 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.08793, allocations: 4 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.08798, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.08806, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.08821, allocations: 23.92 kB / 448.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.08831, allocations: 19.92 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.08841, allocations: 8 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.08845, allocations: 7.984 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.08851, allocations: 15.92 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.08853, allocations: 0 / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.08855, allocations: 8 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.08857, allocations: 7.984 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.0886, allocations: 11.88 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.08869, allocations: 19.86 kB / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.08871, allocations: 3.984 kB / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.08871, allocations: 0 / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.08872, allocations: 4 kB / 448.2 MB, free: 12.81 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.0004591/0.08919, allocations: 331.5 kB / 448.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.08923, allocations: 8.031 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.08926, allocations: 4.938 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.08947, allocations: 168.4 kB / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.08949, allocations: 384 / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.08951, allocations: 8.375 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.08971, allocations: 72.73 kB / 448.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.08973, allocations: 4.188 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.08975, allocations: 3.938 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.08977, allocations: 4 kB / 448.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.08994, allocations: 35.95 kB / 448.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.09035, allocations: 261.9 kB / 449 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.09055, allocations: 73.06 kB / 449.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.09067, allocations: 33.75 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.09069, allocations: 0 / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.09073, allocations: 42.5 kB / 449.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.09074, allocations: 0 / 449.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003667/0.09111, allocations: 89.59 kB / 449.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.09119, allocations: 106.8 kB / 449.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.09127, allocations: 97.86 kB / 449.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.0913, allocations: 29.95 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.09136, allocations: 88.12 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.09138, allocations: 11.94 kB / 449.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.09142, allocations: 17.66 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.09155, allocations: 310.8 kB / 449.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.09165, allocations: 24.84 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.09176, allocations: 42.55 kB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.09193, allocations: 41.69 kB / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.09194, allocations: 0 / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002099/0.09215, allocations: 85.5 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.09217, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.09219, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.09221, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.0923, allocations: 11.98 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.09232, allocations: 0 / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.09238, allocations: 11.89 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.0924, allocations: 11.94 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.489e-05/0.0925, allocations: 92.19 kB / 450.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.477e-05/0.09256, allocations: 26.56 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.27e-05/0.09265, allocations: 29.7 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.09266, allocations: 0 / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001345/0.0928, allocations: 61.62 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.09281, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.09282, allocations: 0 / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.09283, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.09287, allocations: 7.984 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-06/0.09287, allocations: 0 / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.09292, allocations: 4 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-06/0.09293, allocations: 0 / 450.4 MB, free: 10.29 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.0001175/0.09305, allocations: 188.1 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.09308, allocations: 4.031 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.09312, allocations: 19.06 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09312, allocations: 0 / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.09313, allocations: 4 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.09314, allocations: 384 / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.09334, allocations: 165.5 kB / 450.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09335, allocations: 0 / 450.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.09343, allocations: 11.98 kB / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.09344, allocations: 0 / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.09345, allocations: 0 / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09346, allocations: 4 kB / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09347, allocations: 0 / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.09422, allocations: 0.9696 MB / 451.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.09428, allocations: 77.11 kB / 451.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.09431, allocations: 11.92 kB / 451.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.09439, allocations: 11.88 kB / 451.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.09445, allocations: 11.98 kB / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.09445, allocations: 0 / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.0945, allocations: 79.28 kB / 451.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09451, allocations: 4 kB / 451.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000485/0.095, allocations: 8 kB / 451.9 MB, free: 8.586 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 0.000106/0.09511, allocations: 95.25 kB / 452 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.0954, allocations: 51.89 kB / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09541, allocations: 256 / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.09551, allocations: 35.91 kB / 452.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.09573, allocations: 0 / 452.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.09614, allocations: 220.4 kB / 452.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.09646, allocations: 0.6768 MB / 453 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.917e-05/0.09651, allocations: 8.125 kB / 453 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.09654, allocations: 7.438 kB / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09655, allocations: 0 / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of Templates: time 0.002845/0.0994, allocations: 0.6124 MB / 453.6 MB, free: 6.809 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches