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.001451/0.001451, allocations: 104.7 kB / 17.04 MB, free: 6.145 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.001879/0.001879, allocations: 195 kB / 17.97 MB, free: 5.238 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.324/1.324, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06186/0.06186, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001445/0.001445, allocations: 76.39 kB / 349.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2138, allocations: 50.11 MB / 399.4 MB, free: 48.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002455/0.2163, allocations: 1.821 MB / 401.2 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.2167, allocations: 175.5 kB / 401.4 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.2168, allocations: 6.656 kB / 401.4 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2169, allocations: 21.02 kB / 401.4 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.217, allocations: 31.28 kB / 401.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.337e-05/0.2171, allocations: 45.33 kB / 401.5 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2173, allocations: 118.6 kB / 401.6 MB, free: 46.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2174, allocations: 54.28 kB / 401.7 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.2175, allocations: 48.91 kB / 401.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.2176, allocations: 48.77 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2176, allocations: 9.031 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.2176, allocations: 13.06 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.2177, allocations: 22.42 kB / 401.8 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2177, allocations: 50.55 kB / 401.9 MB, free: 46.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2178, allocations: 105.1 kB / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2178, allocations: 3.938 kB / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2178, allocations: 0 / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2179, allocations: 1.281 kB / 402 MB, free: 46.75 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.000407/0.2183, allocations: 419.6 kB / 402.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2183, allocations: 9.344 kB / 402.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2183, allocations: 23.19 kB / 402.4 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.2186, allocations: 214 kB / 402.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2186, allocations: 8.594 kB / 402.6 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.2186, allocations: 14.78 kB / 402.7 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.2188, allocations: 140.9 kB / 402.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2188, allocations: 1.25 kB / 402.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2189, allocations: 9.203 kB / 402.8 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2189, allocations: 2.781 kB / 402.8 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.219, allocations: 62.69 kB / 402.9 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.2195, allocations: 0.6032 MB / 403.5 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2198, allocations: 109.4 kB / 403.6 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.2199, allocations: 43.09 kB / 403.6 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2199, allocations: 1.375 kB / 403.6 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.2199, allocations: 35.88 kB / 403.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2199, allocations: 0 / 403.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003283/0.2203, allocations: 118.5 kB / 403.8 MB, free: 45.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.2203, allocations: 108.2 kB / 403.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.2204, allocations: 150.8 kB / 404 MB, free: 44.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2204, allocations: 31.08 kB / 404 MB, free: 44.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.2204, allocations: 114.1 kB / 404.2 MB, free: 44.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2205, allocations: 27.66 kB / 404.2 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2205, allocations: 28.83 kB / 404.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.2206, allocations: 321.5 kB / 404.5 MB, free: 44.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.2206, allocations: 25.7 kB / 404.6 MB, free: 44.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.2207, allocations: 63.81 kB / 404.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2209, allocations: 96.81 kB / 404.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2209, allocations: 1.312 kB / 404.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.2211, allocations: 130.5 kB / 404.8 MB, free: 44.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2212, allocations: 9.5 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2212, allocations: 1.188 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2212, allocations: 3 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2213, allocations: 30.59 kB / 404.9 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2213, allocations: 2.094 kB / 404.9 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.2214, allocations: 5.094 kB / 404.9 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2214, allocations: 12.22 kB / 404.9 MB, free: 44 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 5.983e-05/0.2215, allocations: 128.4 kB / 405 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.2215, allocations: 9.312 kB / 405 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.2216, allocations: 18.61 kB / 405.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2216, allocations: 6.141 kB / 405.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2216, allocations: 1.156 kB / 405.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2216, allocations: 5.062 kB / 405.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2218, allocations: 211.5 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2218, allocations: 1.125 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2219, allocations: 20.95 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2219, allocations: 1.094 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2219, allocations: 1.156 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2219, allocations: 5.141 kB / 405.3 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2219, allocations: 1.094 kB / 405.3 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.2229, allocations: 1.368 MB / 406.7 MB, free: 42.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.2229, allocations: 89.11 kB / 406.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.223, allocations: 5.375 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.2231, allocations: 6.828 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2231, allocations: 2.719 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2231, allocations: 2.844 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.2232, allocations: 115.6 kB / 406.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2232, allocations: 0 / 406.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.2235, allocations: 29.66 kB / 406.9 MB, free: 42.02 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 6.098e-05/0.2236, allocations: 96.5 kB / 407 MB, free: 41.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2238, allocations: 67.02 kB / 407.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2238, allocations: 0 / 407.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.2239, allocations: 35.27 kB / 407.1 MB, free: 41.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2242, allocations: 28.95 kB / 407.1 MB, free: 41.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.2247, allocations: 365.6 kB / 407.5 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2248, allocations: 0.7146 MB / 408.2 MB, free: 40.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.608e-05/0.2249, allocations: 14.58 kB / 408.2 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2249, allocations: 12.88 kB / 408.2 MB, free: 40.81 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2249, allocations: 3.938 kB / 408.2 MB, free: 40.81 MB / 318.1 MB Notification: Performance of Templates: time 0.003043/0.228, allocations: 1.018 MB / 409.3 MB, free: 40.29 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=480 -s gbode -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