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.001786/0.001786, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001547/0.001547, allocations: 215.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.392/1.392, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.06966/0.06966, allocations: 14.39 MB / 300.4 MB, free: 7.453 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.91 kB / 424.2 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07028/0.07247, allocations: 52.9 MB / 477.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003128/0.0756, allocations: 1.842 MB / 479 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.07601, allocations: 179.4 kB / 479.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.07611, allocations: 7.938 kB / 479.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.07624, allocations: 23.73 kB / 479.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.07639, allocations: 23.84 kB / 479.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.07652, allocations: 47.89 kB / 479.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.0767, allocations: 119.7 kB / 479.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.07684, allocations: 45.45 kB / 479.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.07691, allocations: 51.78 kB / 479.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.07702, allocations: 47.7 kB / 479.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.07704, allocations: 8 kB / 479.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.07706, allocations: 12 kB / 479.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.07709, allocations: 19.92 kB / 479.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.07715, allocations: 51.67 kB / 479.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.07732, allocations: 103.5 kB / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.07733, allocations: 3.938 kB / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.07733, allocations: 0 / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.07733, allocations: 8 kB / 479.7 MB, free: 12.85 MB / 350.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.0005614/0.0779, allocations: 346 kB / 480 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.07793, allocations: 8.031 kB / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.07797, allocations: 16.84 kB / 480.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.07825, allocations: 154.3 kB / 480.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.07826, allocations: 8.562 kB / 480.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.07829, allocations: 12.38 kB / 480.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.07857, allocations: 138.2 kB / 480.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.07858, allocations: 3.938 kB / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.07859, allocations: 4 kB / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.0786, allocations: 7.984 kB / 480.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.07881, allocations: 63.91 kB / 480.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.07955, allocations: 0.5709 MB / 481 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.07984, allocations: 107.9 kB / 481.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.07995, allocations: 42.62 kB / 481.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.07997, allocations: 0 / 481.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.07999, allocations: 42.56 kB / 481.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.07999, allocations: 0 / 481.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004062/0.0804, allocations: 113.5 kB / 481.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.08047, allocations: 106.8 kB / 481.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.08062, allocations: 155.3 kB / 481.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.08064, allocations: 29.7 kB / 481.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.08073, allocations: 123.9 kB / 481.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.08076, allocations: 23.81 kB / 481.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.08081, allocations: 25.7 kB / 481.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.08095, allocations: 318.8 kB / 482.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.08105, allocations: 23.98 kB / 482.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.08118, allocations: 73.94 kB / 482.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.08139, allocations: 97.03 kB / 482.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.08139, allocations: 0 / 482.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002853/0.08168, allocations: 125.7 kB / 482.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.08169, allocations: 4 kB / 482.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.08169, allocations: 0 / 482.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.08171, allocations: 8.156 kB / 482.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.08186, allocations: 31.97 kB / 482.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.08186, allocations: 0 / 482.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.08195, allocations: 15.83 kB / 482.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.08196, allocations: 8 kB / 482.5 MB, free: 9.793 MB / 350.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.0001137/0.08207, allocations: 125.7 kB / 482.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.08211, allocations: 7.953 kB / 482.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.08215, allocations: 24.33 kB / 482.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.08215, allocations: 8 kB / 482.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.08215, allocations: 0 / 482.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.08216, allocations: 0 / 482.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.08239, allocations: 180.6 kB / 482.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.08239, allocations: 0 / 482.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.08251, allocations: 15.98 kB / 482.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.08251, allocations: 4 kB / 482.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.08252, allocations: 0 / 482.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.08253, allocations: 3.984 kB / 482.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.08253, allocations: 0 / 482.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.08294, allocations: 233 kB / 483.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.08296, allocations: 15.91 kB / 483.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.08298, allocations: 4 kB / 483.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.08308, allocations: 4.062 kB / 483.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.08312, allocations: 11.98 kB / 483.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.08313, allocations: 4 kB / 483.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.72e-05/0.08323, allocations: 115.9 kB / 483.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08323, allocations: 0 / 483.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.08349, allocations: 19.95 kB / 483.2 MB, free: 8.953 MB / 350.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 9.019e-05/0.08358, allocations: 95.25 kB / 483.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.0839, allocations: 71.78 kB / 483.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0839, allocations: 0 / 483.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.08401, allocations: 35.91 kB / 483.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.08433, allocations: 25.8 kB / 483.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.08488, allocations: 283.5 kB / 483.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.08526, allocations: 0.7002 MB / 484.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.0853, allocations: 19.42 kB / 484.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.0853, allocations: 0 / 484.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of Templates: time 0.003278/0.08858, allocations: 1.416 MB / 485.9 MB, free: 6.242 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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: 6.842127370880917]