Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108.4 kB / 16.28 MB, free: 6.422 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.001672/0.001672, allocations: 188.2 kB / 17.2 MB, free: 5.949 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06291/0.06291, allocations: 14.17 MB / 284.6 MB, free: 13.93 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.003008/0.003008, allocations: 67.91 kB / 347.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3148, allocations: 50.12 MB / 398 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003116/0.318, allocations: 1.822 MB / 399.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.3184, allocations: 170.5 kB / 400 MB, free: 47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3185, allocations: 7.344 kB / 400 MB, free: 47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3187, allocations: 29.31 kB / 400 MB, free: 46.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3189, allocations: 18.05 kB / 400 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.319, allocations: 46.23 kB / 400.1 MB, free: 46.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3192, allocations: 120.3 kB / 400.2 MB, free: 46.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.3194, allocations: 55.22 kB / 400.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.3195, allocations: 51.75 kB / 400.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3196, allocations: 42.09 kB / 400.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.3197, allocations: 8.75 kB / 400.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.3197, allocations: 8.938 kB / 400.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.3197, allocations: 22.23 kB / 400.4 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.3198, allocations: 57.69 kB / 400.4 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3199, allocations: 100.4 kB / 400.5 MB, free: 46.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3199, allocations: 3.938 kB / 400.5 MB, free: 46.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.32, allocations: 1.281 kB / 400.5 MB, free: 46.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.32, allocations: 0 / 400.5 MB, free: 46.61 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000576/0.3205, allocations: 424.5 kB / 400.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3206, allocations: 9.75 kB / 400.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3207, allocations: 16.28 kB / 401 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3209, allocations: 207.3 kB / 401.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.3209, allocations: 8.406 kB / 401.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.321, allocations: 18.69 kB / 401.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.3212, allocations: 134.2 kB / 401.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3213, allocations: 0 / 401.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3213, allocations: 5.25 kB / 401.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3213, allocations: 6.719 kB / 401.3 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3215, allocations: 66.73 kB / 401.4 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.3222, allocations: 0.6079 MB / 402 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.3225, allocations: 106 kB / 402.1 MB, free: 45.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3226, allocations: 43.84 kB / 402.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3226, allocations: 0 / 402.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3226, allocations: 40.98 kB / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.3227, allocations: 0 / 402.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000394/0.3231, allocations: 118.6 kB / 402.3 MB, free: 44.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3231, allocations: 104.1 kB / 402.4 MB, free: 44.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3232, allocations: 155 kB / 402.6 MB, free: 44.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3233, allocations: 30.98 kB / 402.6 MB, free: 44.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.3233, allocations: 114.5 kB / 402.7 MB, free: 44.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3234, allocations: 30.23 kB / 402.7 MB, free: 44.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3234, allocations: 25.38 kB / 402.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.3235, allocations: 321.5 kB / 403.1 MB, free: 44.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.3236, allocations: 25.98 kB / 403.1 MB, free: 44.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3238, allocations: 70.55 kB / 403.2 MB, free: 44.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.324, allocations: 101.8 kB / 403.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.324, allocations: 1.406 kB / 403.3 MB, free: 43.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002552/0.3242, allocations: 122.4 kB / 403.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3243, allocations: 7.219 kB / 403.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3243, allocations: 6.734 kB / 403.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3243, allocations: 1.344 kB / 403.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3244, allocations: 22.73 kB / 403.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3245, allocations: 6.75 kB / 403.4 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.3245, allocations: 4.906 kB / 403.4 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3246, allocations: 11.59 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.153e-05/0.3247, allocations: 128.1 kB / 403.6 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3247, allocations: 9.344 kB / 403.6 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.3247, allocations: 19.59 kB / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3247, allocations: 1.062 kB / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3248, allocations: 2.062 kB / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3248, allocations: 0 / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.325, allocations: 220.4 kB / 403.8 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3251, allocations: 1.094 kB / 403.8 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3252, allocations: 20.67 kB / 403.8 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3253, allocations: 1.188 kB / 403.8 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3253, allocations: 5.281 kB / 403.8 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3253, allocations: 1.344 kB / 403.8 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3253, allocations: 1.125 kB / 403.8 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3266, allocations: 1.376 MB / 405.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.3267, allocations: 88.23 kB / 405.3 MB, free: 41.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3267, allocations: 13.08 kB / 405.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.3268, allocations: 3.312 kB / 405.3 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3268, allocations: 8.078 kB / 405.3 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3268, allocations: 2.188 kB / 405.3 MB, free: 41.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.748e-05/0.3269, allocations: 109.7 kB / 405.4 MB, free: 41.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3269, allocations: 0 / 405.4 MB, free: 41.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.3273, allocations: 29.78 kB / 405.5 MB, free: 41.87 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.0001186/0.3274, allocations: 97.45 kB / 405.6 MB, free: 41.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.3277, allocations: 67.25 kB / 405.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3277, allocations: 0 / 405.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3278, allocations: 34.89 kB / 405.7 MB, free: 41.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3282, allocations: 30.78 kB / 405.7 MB, free: 41.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.3288, allocations: 366.2 kB / 406.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.329, allocations: 0.7056 MB / 406.8 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.034e-05/0.3291, allocations: 15.02 kB / 406.8 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3292, allocations: 13.09 kB / 406.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3292, allocations: 0 / 406.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of Templates: time 0.003653/0.3328, allocations: 1.008 MB / 407.8 MB, free: 40.15 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches