Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 190.2 kB / 16.67 MB, free: 6.57 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06965/0.06965, allocations: 14.16 MB / 284.1 MB, free: 7.016 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.002369/0.002369, allocations: 60.38 kB / 396 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3263, allocations: 50.15 MB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001747/0.3281, allocations: 0.668 MB / 446.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.3283, allocations: 66.48 kB / 446.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.3284, allocations: 1.406 kB / 446.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.3284, allocations: 3.938 kB / 446.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.3285, allocations: 3.938 kB / 446.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3286, allocations: 16.33 kB / 446.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.3287, allocations: 20.3 kB / 446.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.3288, allocations: 11.39 kB / 446.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.3289, allocations: 15.27 kB / 446.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.3289, allocations: 15.31 kB / 446.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3289, allocations: 2.281 kB / 446.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.329, allocations: 2.219 kB / 446.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.329, allocations: 4 kB / 446.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.329, allocations: 14 kB / 446.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.828e-05/0.3291, allocations: 24.41 kB / 447 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3291, allocations: 0 / 447 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3291, allocations: 1.062 kB / 447 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3291, allocations: 0 / 447 MB, free: 1.301 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.0003688/0.3295, allocations: 335.2 kB / 447.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3296, allocations: 9.75 kB / 447.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.3296, allocations: 32.66 kB / 447.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.3296, allocations: 2.188 kB / 447.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3298, allocations: 173.7 kB / 447.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3298, allocations: 1.281 kB / 447.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3298, allocations: 1.531 kB / 447.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.33, allocations: 80.14 kB / 447.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.33, allocations: 3.938 kB / 447.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.33, allocations: 5.094 kB / 447.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.33, allocations: 1.125 kB / 447.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3302, allocations: 27.91 kB / 447.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.3305, allocations: 273.2 kB / 447.9 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3306, allocations: 82.12 kB / 448 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.3307, allocations: 30.42 kB / 448 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3308, allocations: 1.062 kB / 448 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3308, allocations: 35.62 kB / 448 MB, free: 156 kB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3308, allocations: 0 / 448 MB, free: 156 kB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003426/0.3311, allocations: 91 kB / 448.1 MB, free: 96 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.3312, allocations: 116 kB / 448.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.3313, allocations: 97.83 kB / 448.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3313, allocations: 25.7 kB / 448.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3314, allocations: 90.25 kB / 448.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3314, allocations: 5.016 kB / 448.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3315, allocations: 13 kB / 448.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3316, allocations: 315.9 kB / 448.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.3317, allocations: 26.92 kB / 448.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.892e-05/0.3318, allocations: 38.97 kB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.332, allocations: 47.66 kB / 448.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.332, allocations: 3.938 kB / 448.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002056/0.3322, allocations: 76.41 kB / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3323, allocations: 7.25 kB / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3323, allocations: 0 / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3323, allocations: 0 / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.3324, allocations: 11.27 kB / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3324, allocations: 7.219 kB / 449 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.3325, allocations: 8.75 kB / 449 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3325, allocations: 3.984 kB / 449 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.695e-05/0.3326, allocations: 85.58 kB / 449.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.624e-05/0.3326, allocations: 33.41 kB / 449.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.114e-05/0.3327, allocations: 28.53 kB / 449.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.3327, allocations: 0 / 449.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001299/0.3329, allocations: 61.7 kB / 449.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.3329, allocations: 3.844 kB / 449.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3329, allocations: 7.484 kB / 449.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-06/0.3329, allocations: 0 / 449.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-05/0.3329, allocations: 3.031 kB / 449.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.3329, allocations: 1.344 kB / 449.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.333, allocations: 7.938 kB / 449.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.333, allocations: 5.047 kB / 449.2 MB, free: 15.04 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.0001116/0.3331, allocations: 181.6 kB / 449.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3332, allocations: 6.656 kB / 449.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.3332, allocations: 4.281 kB / 449.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3332, allocations: 0 / 449.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3332, allocations: 1.344 kB / 449.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3332, allocations: 5.312 kB / 449.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.3334, allocations: 166.7 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3334, allocations: 4 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.3335, allocations: 11.62 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3335, allocations: 1.156 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3335, allocations: 1.375 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3335, allocations: 4 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3335, allocations: 5.391 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3338, allocations: 178.1 kB / 449.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3339, allocations: 79.33 kB / 449.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3339, allocations: 5.375 kB / 449.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.334, allocations: 9.266 kB / 449.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.334, allocations: 1.344 kB / 449.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.334, allocations: 1.906 kB / 449.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.3341, allocations: 85.75 kB / 450 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3341, allocations: 4 kB / 450 MB, free: 14.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3344, allocations: 10.31 kB / 450 MB, free: 14.26 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.0006092/0.335, allocations: 0.7071 MB / 450.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3353, allocations: 56.55 kB / 450.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3353, allocations: 0 / 450.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.3354, allocations: 22.55 kB / 450.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.3356, allocations: 6.406 kB / 450.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3372, allocations: 1.263 MB / 452 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3376, allocations: 0.6809 MB / 452.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.3377, allocations: 2.406 kB / 452.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.3377, allocations: 12.81 kB / 452.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3377, allocations: 0 / 452.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.3631, allocations: 1.447 MB / 454.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.289, allocations: 9.797 kB / 454.2 MB, free: 10.66 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches