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.0009756/0.0009756, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002163, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000807/0.000807, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009876/0.001795, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8854/0.8854, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/1.028, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.08723/0.08723, allocations: 10.64 MB / 232.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007683/0.09491, allocations: 4.147 MB / 236.2 MB, free: 1.809 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.513e-06/1.513e-06, allocations: 0 / 237.5 MB, free: 468 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.305e-05, allocations: 6.312 kB / 237.6 MB, free: 460 kB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003111/0.003134, allocations: 1.877 MB / 239.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.003502, allocations: 179.3 kB / 239.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003603, allocations: 11.88 kB / 239.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003722, allocations: 15.8 kB / 239.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003827, allocations: 27.78 kB / 239.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.81e-05/0.003925, allocations: 51.89 kB / 239.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004094, allocations: 123.6 kB / 239.8 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004214, allocations: 34.12 kB / 239.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004342, allocations: 87.8 kB / 240 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.004431, allocations: 27.91 kB / 240 MB, free: 14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.004458, allocations: 8 kB / 240 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.004476, allocations: 8 kB / 240 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.004503, allocations: 19.88 kB / 240 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.004538, allocations: 23.94 kB / 240 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004704, allocations: 75.62 kB / 240.1 MB, free: 13.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.004716, allocations: 4 kB / 240.1 MB, free: 13.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004717, allocations: 0 / 240.1 MB, free: 13.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.004728, allocations: 0 / 240.1 MB, free: 13.86 MB / 250.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.0005118/0.00524, allocations: 332.3 kB / 240.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.005282, allocations: 19.88 kB / 240.5 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.005331, allocations: 12.94 kB / 240.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.00556, allocations: 157.4 kB / 240.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.005585, allocations: 8.562 kB / 240.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.005622, allocations: 16.38 kB / 240.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.005836, allocations: 131.5 kB / 240.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005845, allocations: 0 / 240.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005857, allocations: 4 kB / 240.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.005865, allocations: 4 kB / 240.8 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.005928, allocations: 23.92 kB / 240.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.006501, allocations: 453.3 kB / 241.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.006717, allocations: 79.78 kB / 241.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.006763, allocations: 46.59 kB / 241.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.006779, allocations: 0 / 241.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.006808, allocations: 34.56 kB / 241.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.006809, allocations: 0 / 241.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.006998, allocations: 73.67 kB / 241.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.007051, allocations: 110.8 kB / 241.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.007172, allocations: 154.7 kB / 241.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.007189, allocations: 33.7 kB / 241.8 MB, free: 12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.007253, allocations: 108 kB / 241.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.007278, allocations: 27.75 kB / 241.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.007335, allocations: 29.69 kB / 241.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.007451, allocations: 318.8 kB / 242.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.007484, allocations: 12.06 kB / 242.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.00757, allocations: 114.2 kB / 242.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.055e-05/0.00766, allocations: 65.09 kB / 242.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.007664, allocations: 4 kB / 242.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001265/0.00779, allocations: 77.48 kB / 242.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007807, allocations: 8 kB / 242.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007814, allocations: 0 / 242.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.007831, allocations: 7.938 kB / 242.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.008034, allocations: 32.12 kB / 242.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008039, allocations: 4 kB / 242.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.008105, allocations: 15.89 kB / 242.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.008116, allocations: 4 kB / 242.6 MB, free: 11.11 MB / 250.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 7.954e-05/0.008196, allocations: 113.8 kB / 242.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.00823, allocations: 11.98 kB / 242.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.008264, allocations: 16.41 kB / 242.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.008266, allocations: 0 / 242.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.008268, allocations: 0 / 242.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.008274, allocations: 4 kB / 242.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.008437, allocations: 97.84 kB / 242.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.008439, allocations: 0 / 242.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.992e-05/0.008539, allocations: 19.98 kB / 242.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.008563, allocations: 19.88 kB / 242.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.008566, allocations: 0 / 242.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.008575, allocations: 0 / 242.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.00858, allocations: 8 kB / 242.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.008583, allocations: 7.938 kB / 242.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.008779, allocations: 169.2 kB / 243 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.008798, allocations: 32 / 243 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.008882, allocations: 12 kB / 243.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.008923, allocations: 11.92 kB / 243.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.008928, allocations: 0 / 243.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.008971, allocations: 29.64 kB / 243.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008971, allocations: 0 / 243.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.009207, allocations: 31.88 kB / 243.1 MB, free: 10.51 MB / 250.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 0.000116/0.009323, allocations: 76.58 kB / 243.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.009448, allocations: 49.25 kB / 243.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.009458, allocations: 11.94 kB / 243.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.009508, allocations: 28.83 kB / 243.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.009821, allocations: 138.8 kB / 243.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.01058, allocations: 238.8 kB / 243.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.01063, allocations: 63.34 kB / 243.7 MB, free: 9.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.01069, allocations: 16.67 kB / 243.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.01078, allocations: 63.38 kB / 243.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01078, allocations: 3.938 kB / 243.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of Templates: time 0.004206/0.01499, allocations: 1.191 MB / 245 MB, free: 8.551 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.560471502132714]