Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07916/0.07916, allocations: 16.95 MB / 319.6 MB, free: 9.371 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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_dev_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_dev_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003421/0.003421, allocations: 71.89 kB / 448.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1685, allocations: 56.53 MB / 0.4936 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003648/0.1722, allocations: 1.822 MB / 0.4954 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004235/0.1726, allocations: 171.4 kB / 0.4955 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1727, allocations: 11.94 kB / 0.4955 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1729, allocations: 27.72 kB / 0.4956 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.173, allocations: 23.8 kB / 0.4956 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.1732, allocations: 47.94 kB / 0.4956 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1734, allocations: 119.6 kB / 0.4957 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1735, allocations: 37.34 kB / 0.4958 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.1736, allocations: 47.78 kB / 0.4958 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1737, allocations: 51.7 kB / 0.4959 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1737, allocations: 12 kB / 0.4959 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.1738, allocations: 8 kB / 0.4959 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.1738, allocations: 19.92 kB / 0.4959 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.1738, allocations: 47.67 kB / 0.496 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1741, allocations: 111.4 kB / 0.4961 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1741, allocations: 0 / 0.4961 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1741, allocations: 0 / 0.4961 GB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1741, allocations: 0 / 0.4961 GB, free: 14.35 MB / 382.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.0007059/0.1748, allocations: 431 kB / 0.4965 GB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1749, allocations: 11.97 kB / 0.4965 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.1749, allocations: 16.84 kB / 0.4965 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1753, allocations: 220.1 kB / 0.4967 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1753, allocations: 4.562 kB / 0.4967 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1753, allocations: 12.38 kB / 0.4967 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1757, allocations: 134.2 kB / 0.4969 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1757, allocations: 3.938 kB / 0.4969 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1757, allocations: 8 kB / 0.4969 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1757, allocations: 0 / 0.4969 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1759, allocations: 67.89 kB / 0.4969 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.1767, allocations: 0.6031 MB / 0.4975 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.177, allocations: 108 kB / 0.4976 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1771, allocations: 38.62 kB / 0.4977 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1771, allocations: 4 kB / 0.4977 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1772, allocations: 38.5 kB / 0.4977 GB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1772, allocations: 0 / 0.4977 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.1776, allocations: 117.5 kB / 0.4978 GB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.1777, allocations: 106.8 kB / 0.4979 GB, free: 12.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1779, allocations: 149.3 kB / 0.4981 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1779, allocations: 29.7 kB / 0.4981 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.178, allocations: 119.9 kB / 0.4982 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.178, allocations: 28.05 kB / 0.4982 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1781, allocations: 25.7 kB / 0.4983 GB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1782, allocations: 318.8 kB / 0.4986 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.1783, allocations: 27.97 kB / 0.4986 GB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1785, allocations: 65.94 kB / 0.4986 GB, free: 11.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1787, allocations: 105 kB / 0.4987 GB, free: 11.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1787, allocations: 0 / 0.4987 GB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000256/0.1789, allocations: 129.6 kB / 0.4989 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.179, allocations: 8 kB / 0.4989 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.179, allocations: 64 / 0.4989 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.179, allocations: 4 kB / 0.4989 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1792, allocations: 27.92 kB / 0.4989 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.1792, allocations: 4 kB / 0.4989 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.1792, allocations: 16.08 kB / 0.4989 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1793, allocations: 8 kB / 0.4989 GB, free: 11.07 MB / 382.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 0.0001142/0.1794, allocations: 121.8 kB / 0.4991 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.1794, allocations: 15.91 kB / 0.4991 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.1795, allocations: 16.3 kB / 0.4991 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1795, allocations: 0 / 0.4991 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1795, allocations: 0 / 0.4991 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1795, allocations: 4 kB / 0.4991 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1797, allocations: 205.5 kB / 0.4993 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1797, allocations: 8 kB / 0.4993 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1799, allocations: 19.92 kB / 0.4993 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1799, allocations: 0 / 0.4993 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1799, allocations: 0 / 0.4993 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1799, allocations: 4 kB / 0.4993 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1799, allocations: 0 / 0.4993 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.1803, allocations: 229.1 kB / 0.4995 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1803, allocations: 89.05 kB / 0.4996 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1803, allocations: 3.938 kB / 0.4996 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.1804, allocations: 11.98 kB / 0.4996 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1805, allocations: 4 kB / 0.4996 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.1805, allocations: 3.984 kB / 0.4996 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.1806, allocations: 115.3 kB / 0.4998 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1806, allocations: 0 / 0.4998 GB, free: 10.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1808, allocations: 15.94 kB / 0.4998 GB, free: 10.12 MB / 382.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.000116/0.181, allocations: 103.2 kB / 0.4999 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.1812, allocations: 63.84 kB / 0.4999 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1812, allocations: 0 / 0.4999 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.1813, allocations: 36.23 kB / 0.5 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1817, allocations: 30.14 kB / 0.5 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1823, allocations: 253.2 kB / 0.5002 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1827, allocations: 0.7158 MB / 0.5009 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.1828, allocations: 12.53 kB / 0.5009 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1828, allocations: 15.44 kB / 0.501 GB, free: 8.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1828, allocations: 0 / 0.501 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Templates: time 0.004178/0.187, allocations: 1.018 MB / 0.502 GB, free: 7.832 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110469249542803]