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.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.001236/0.001236, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001316/0.001316, allocations: 186 kB / 20.78 MB, free: 1.547 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.571/1.571, allocations: 207.6 MB / 231.4 MB, free: 3.082 MB / 174.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.06751/0.06751, allocations: 14.41 MB / 297.9 MB, free: 0.6406 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002984/0.002984, allocations: 67.91 kB / 421 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3199, allocations: 52.87 MB / 473.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003626/0.3235, allocations: 1.846 MB / 475.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.3239, allocations: 163.4 kB / 475.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3241, allocations: 7.938 kB / 475.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3242, allocations: 27.73 kB / 475.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.3244, allocations: 23.84 kB / 475.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.3245, allocations: 43.89 kB / 476 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3247, allocations: 119.7 kB / 476.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3248, allocations: 49.3 kB / 476.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.3249, allocations: 47.8 kB / 476.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.325, allocations: 47.7 kB / 476.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.325, allocations: 8 kB / 476.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.325, allocations: 12 kB / 476.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3251, allocations: 15.94 kB / 476.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.3251, allocations: 55.67 kB / 476.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3253, allocations: 111 kB / 476.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3253, allocations: 0 / 476.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.3253, allocations: 4 kB / 476.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3253, allocations: 0 / 476.4 MB, free: 10.34 MB / 334.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.0008287/0.3262, allocations: 425 kB / 476.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3262, allocations: 11.98 kB / 476.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.3263, allocations: 16.84 kB / 476.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.3266, allocations: 224.1 kB / 477.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.3267, allocations: 8.562 kB / 477.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.3267, allocations: 8.375 kB / 477.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.327, allocations: 134.2 kB / 477.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.327, allocations: 11.94 kB / 477.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.327, allocations: 0 / 477.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3271, allocations: 4 kB / 477.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3273, allocations: 63.89 kB / 477.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.3281, allocations: 0.6031 MB / 477.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.3284, allocations: 103.9 kB / 478 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3285, allocations: 50.62 kB / 478.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.3286, allocations: 4 kB / 478.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.3286, allocations: 38.55 kB / 478.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3286, allocations: 0 / 478.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003941/0.329, allocations: 113.7 kB / 478.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.3292, allocations: 110.8 kB / 478.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3293, allocations: 146.5 kB / 478.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3294, allocations: 25.7 kB / 478.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3295, allocations: 119.9 kB / 478.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3295, allocations: 31.73 kB / 478.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.3295, allocations: 25.72 kB / 478.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3297, allocations: 322.9 kB / 479 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3298, allocations: 23.98 kB / 479 MB, free: 7.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3299, allocations: 69.97 kB / 479.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3301, allocations: 101 kB / 479.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3301, allocations: 0 / 479.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002979/0.3304, allocations: 117.8 kB / 479.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3304, allocations: 7.938 kB / 479.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3304, allocations: 8.047 kB / 479.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3305, allocations: 4 kB / 479.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3306, allocations: 27.98 kB / 479.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3306, allocations: 0 / 479.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.3307, allocations: 15.89 kB / 479.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3307, allocations: 0 / 479.3 MB, free: 7.074 MB / 334.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.0001285/0.3308, allocations: 137.8 kB / 479.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.3309, allocations: 7.953 kB / 479.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.3309, allocations: 16.31 kB / 479.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3309, allocations: 4 kB / 479.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3309, allocations: 3.984 kB / 479.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3309, allocations: 3.938 kB / 479.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3312, allocations: 209.5 kB / 479.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3312, allocations: 0 / 479.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3313, allocations: 15.98 kB / 479.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3313, allocations: 4 kB / 479.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3313, allocations: 8 kB / 479.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3313, allocations: 0 / 479.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3313, allocations: 0 / 479.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3317, allocations: 237 kB / 480 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3318, allocations: 85.09 kB / 480.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3318, allocations: 0 / 480.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.3319, allocations: 4 kB / 480.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3319, allocations: 11.98 kB / 480.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3319, allocations: 4 kB / 480.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.332, allocations: 111.9 kB / 480.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.332, allocations: 0 / 480.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3323, allocations: 23.95 kB / 480.2 MB, free: 6.105 MB / 334.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.0001077/0.3324, allocations: 99.25 kB / 480.3 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.3326, allocations: 75.75 kB / 480.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3326, allocations: 4 kB / 480.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.3327, allocations: 31.92 kB / 480.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3331, allocations: 28.61 kB / 480.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.3337, allocations: 245.1 kB / 480.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3341, allocations: 0.708 MB / 481.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.3341, allocations: 8.562 kB / 481.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.3342, allocations: 15.44 kB / 481.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3342, allocations: 0 / 481.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Templates: time 0.004145/0.3383, allocations: 1.018 MB / 482.4 MB, free: 3.816 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/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: 4.809791984036565]