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.0009635/0.0009635, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009428/0.0009428, allocations: 173 kB / 23.36 MB, free: 1.133 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.9642/0.9642, allocations: 158.6 MB / 185.3 MB, free: 2.754 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.04222/0.04222, allocations: 10.66 MB / 248.2 MB, free: 4.344 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.363e-06/1.363e-06, allocations: 0 / 270.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.117e-05, allocations: 6.25 kB / 270.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002329/0.002351, allocations: 1.865 MB / 272.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.002692, allocations: 175.4 kB / 273 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.002783, allocations: 7.938 kB / 273 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.002914, allocations: 27.67 kB / 273 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.003038, allocations: 19.86 kB / 273 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.243e-05/0.00312, allocations: 43.89 kB / 273.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.00325, allocations: 131.6 kB / 273.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003356, allocations: 30.19 kB / 273.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.003437, allocations: 75.8 kB / 273.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.003514, allocations: 23.91 kB / 273.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.003533, allocations: 11.94 kB / 273.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.003544, allocations: 12 kB / 273.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.00357, allocations: 23.92 kB / 273.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.003595, allocations: 27.92 kB / 273.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003714, allocations: 83.59 kB / 273.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003715, allocations: 0 / 273.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003716, allocations: 0 / 273.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.00372, allocations: 0 / 273.5 MB, free: 11.03 MB / 266.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.0003277/0.004047, allocations: 320.5 kB / 273.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.004079, allocations: 12.03 kB / 273.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.004112, allocations: 16.92 kB / 273.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.004269, allocations: 157.5 kB / 274 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.004283, allocations: 4.562 kB / 274 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.004303, allocations: 12.38 kB / 274 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.004441, allocations: 135.5 kB / 274.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.004447, allocations: 0 / 274.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.004455, allocations: 0 / 274.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004461, allocations: 7.938 kB / 274.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.004502, allocations: 27.92 kB / 274.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.004874, allocations: 449.3 kB / 274.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.004998, allocations: 79.77 kB / 274.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.005025, allocations: 30.69 kB / 274.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.005037, allocations: 4 kB / 274.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005057, allocations: 38.5 kB / 274.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005058, allocations: 0 / 274.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000126/0.005184, allocations: 77.55 kB / 274.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.005223, allocations: 102.8 kB / 274.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.005299, allocations: 158.5 kB / 275.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.00531, allocations: 25.7 kB / 275.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.005359, allocations: 115.9 kB / 275.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.005376, allocations: 27.73 kB / 275.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.005406, allocations: 25.7 kB / 275.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.005483, allocations: 330.7 kB / 275.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.005496, allocations: 8 kB / 275.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.005551, allocations: 110.5 kB / 275.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.005606, allocations: 65.06 kB / 275.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005608, allocations: 4 kB / 275.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.577e-05/0.005683, allocations: 77.69 kB / 275.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.005694, allocations: 12.03 kB / 275.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005699, allocations: 0 / 275.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.00571, allocations: 7.938 kB / 275.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.005822, allocations: 27.92 kB / 275.9 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.005828, allocations: 7.969 kB / 275.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.005863, allocations: 11.95 kB / 275.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005868, allocations: 4 kB / 275.9 MB, free: 8.301 MB / 266.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 6.2e-05/0.00593, allocations: 121.7 kB / 276 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.005952, allocations: 15.97 kB / 276.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.005972, allocations: 16.41 kB / 276.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.005976, allocations: 4 kB / 276.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005978, allocations: 0 / 276.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00598, allocations: 0 / 276.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.006085, allocations: 102.1 kB / 276.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006086, allocations: 0 / 276.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.006135, allocations: 19.98 kB / 276.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006136, allocations: 0 / 276.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.006144, allocations: 4 kB / 276.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006145, allocations: 0 / 276.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006147, allocations: 3.938 kB / 276.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.006271, allocations: 181.2 kB / 276.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.006284, allocations: 7.953 kB / 276.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.006297, allocations: 11.98 kB / 276.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.006335, allocations: 0 / 276.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.006364, allocations: 11.92 kB / 276.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006368, allocations: 4 kB / 276.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.69e-05/0.006395, allocations: 33.64 kB / 276.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006395, allocations: 0 / 276.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.006528, allocations: 15.95 kB / 276.5 MB, free: 7.711 MB / 266.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 6.11e-05/0.006589, allocations: 80.45 kB / 276.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.006666, allocations: 40.72 kB / 276.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.00667, allocations: 4 kB / 276.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.006696, allocations: 28.78 kB / 276.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.00685, allocations: 19.98 kB / 276.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.007175, allocations: 235.1 kB / 276.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.007213, allocations: 75.11 kB / 276.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.757e-05/0.00725, allocations: 4.5 kB / 276.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.007311, allocations: 75.36 kB / 277 MB, free: 7.09 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.007312, allocations: 0 / 277 MB, free: 7.09 MB / 266.7 MB Notification: Performance of Templates: time 0.002518/0.009829, allocations: 1.184 MB / 278.2 MB, free: 5.906 MB / 266.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 -s gbode -gbm=radauIIA3 -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.6331498720683157]