Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8564/0.8564, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04087/0.04087, allocations: 10.65 MB / 248.2 MB, free: 4.527 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 319.4 MB, free: 39.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.97e-05, allocations: 3.078 kB / 319.4 MB, free: 39.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.00184/0.001869, allocations: 1.831 MB / 321.3 MB, free: 38.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000297/0.002166, allocations: 163.5 kB / 321.4 MB, free: 37.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.002256, allocations: 7.938 kB / 321.4 MB, free: 37.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.002385, allocations: 23.73 kB / 321.5 MB, free: 37.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.002516, allocations: 31.72 kB / 321.5 MB, free: 37.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.88e-05/0.002585, allocations: 47.95 kB / 321.5 MB, free: 37.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.002706, allocations: 119.6 kB / 321.7 MB, free: 37.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.002821, allocations: 38.84 kB / 321.7 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.002887, allocations: 67.81 kB / 321.8 MB, free: 37.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.002961, allocations: 27.91 kB / 321.8 MB, free: 37.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.002987, allocations: 12 kB / 321.8 MB, free: 37.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.002999, allocations: 8 kB / 321.8 MB, free: 37.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.003022, allocations: 27.84 kB / 321.8 MB, free: 37.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.003056, allocations: 23.92 kB / 321.9 MB, free: 37.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003175, allocations: 79.61 kB / 321.9 MB, free: 37.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.003178, allocations: 4 kB / 321.9 MB, free: 37.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003179, allocations: 0 / 321.9 MB, free: 37.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003183, allocations: 0 / 321.9 MB, free: 37.45 MB / 282.7 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.0003677/0.003551, allocations: 446.7 kB / 322.4 MB, free: 36.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.003584, allocations: 8.031 kB / 322.4 MB, free: 36.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.003632, allocations: 24.84 kB / 322.4 MB, free: 36.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.003792, allocations: 168.3 kB / 322.6 MB, free: 36.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.003812, allocations: 8.562 kB / 322.6 MB, free: 36.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.003835, allocations: 16.38 kB / 322.6 MB, free: 36.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.003991, allocations: 137.8 kB / 322.7 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.004, allocations: 0 / 322.7 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.004012, allocations: 8 kB / 322.7 MB, free: 36.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.00402, allocations: 0 / 322.7 MB, free: 36.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.004075, allocations: 35.91 kB / 322.8 MB, free: 36.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.004512, allocations: 0.6635 MB / 323.4 MB, free: 35.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.004676, allocations: 121.5 kB / 323.6 MB, free: 35.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.00471, allocations: 39 kB / 323.6 MB, free: 35.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.004725, allocations: 3.984 kB / 323.6 MB, free: 35.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.004741, allocations: 41.33 kB / 323.6 MB, free: 35.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.004742, allocations: 0 / 323.6 MB, free: 35.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001806/0.004923, allocations: 85.5 kB / 323.7 MB, free: 35.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.004961, allocations: 106.8 kB / 323.8 MB, free: 35.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.005043, allocations: 214.1 kB / 324 MB, free: 35.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.005051, allocations: 29.7 kB / 324.1 MB, free: 35.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.005095, allocations: 170.6 kB / 324.2 MB, free: 34.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.00511, allocations: 31.73 kB / 324.3 MB, free: 34.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.005142, allocations: 27.38 kB / 324.3 MB, free: 34.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.005186, allocations: 0.4962 MB / 324.8 MB, free: 34.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.005208, allocations: 4 kB / 324.8 MB, free: 34.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.005249, allocations: 100.5 kB / 324.9 MB, free: 34.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.005313, allocations: 86.08 kB / 325 MB, free: 34.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005315, allocations: 0 / 325 MB, free: 34.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.766e-05/0.005413, allocations: 97.77 kB / 325.1 MB, free: 33.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.005427, allocations: 14.11 kB / 325.1 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005433, allocations: 8 kB / 325.1 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.005447, allocations: 0 / 325.1 MB, free: 33.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.005539, allocations: 24.14 kB / 325.1 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005544, allocations: 4 kB / 325.1 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.00558, allocations: 11.95 kB / 325.1 MB, free: 33.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.00559, allocations: 5.016 kB / 325.1 MB, free: 33.91 MB / 282.7 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.65e-05/0.005646, allocations: 164.5 kB / 325.3 MB, free: 33.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.005667, allocations: 15.89 kB / 325.3 MB, free: 33.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.005692, allocations: 16.45 kB / 325.3 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005695, allocations: 0 / 325.3 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005699, allocations: 0 / 325.3 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005702, allocations: 0 / 325.3 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.005805, allocations: 152.5 kB / 325.5 MB, free: 33.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.005807, allocations: 7.984 kB / 325.5 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.005861, allocations: 12 kB / 325.5 MB, free: 33.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005862, allocations: 3.938 kB / 325.5 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.005873, allocations: 7.938 kB / 325.5 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005875, allocations: 3.984 kB / 325.5 MB, free: 33.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.005876, allocations: 3.938 kB / 325.5 MB, free: 33.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.006023, allocations: 247.2 kB / 325.7 MB, free: 33.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.006038, allocations: 11.94 kB / 325.8 MB, free: 33.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006052, allocations: 3.938 kB / 325.8 MB, free: 33.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.006095, allocations: 12.03 kB / 325.8 MB, free: 33.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.006137, allocations: 7.984 kB / 325.8 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.006141, allocations: 0 / 325.8 MB, free: 33.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.00618, allocations: 154.6 kB / 325.9 MB, free: 33.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00618, allocations: 0 / 325.9 MB, free: 33.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.006345, allocations: 19.95 kB / 326 MB, free: 33.02 MB / 282.7 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 7.734e-05/0.006422, allocations: 95.19 kB / 326 MB, free: 32.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.006539, allocations: 47.86 kB / 326.1 MB, free: 32.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006541, allocations: 4.062 kB / 326.1 MB, free: 32.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.006568, allocations: 31.67 kB / 326.1 MB, free: 32.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.006818, allocations: 31.25 kB / 326.2 MB, free: 32.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.007191, allocations: 253.8 kB / 326.4 MB, free: 32.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.134e-05/0.007223, allocations: 68.02 kB / 326.5 MB, free: 32.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.879e-05/0.007261, allocations: 8.625 kB / 326.5 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.007295, allocations: 16.5 kB / 326.5 MB, free: 32.4 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.007296, allocations: 0 / 326.5 MB, free: 32.4 MB / 282.7 MB Notification: Performance of Templates: time 0.002867/0.01016, allocations: 1.067 MB / 327.6 MB, free: 31.35 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.845045688096434]