Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001396/0.001396, allocations: 78.66 kB / 20.66 MB, free: 3.836 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.001843/0.001843, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9164/0.9164, allocations: 158.6 MB / 186 MB, free: 2.801 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.03845/0.03845, allocations: 10.66 MB / 249 MB, free: 4.285 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 320.7 MB, free: 39.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.173e-05, allocations: 2.312 kB / 320.7 MB, free: 39.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003754/0.003786, allocations: 1.822 MB / 322.6 MB, free: 37.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005406/0.004326, allocations: 163.5 kB / 322.7 MB, free: 37.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.004507, allocations: 11.88 kB / 322.7 MB, free: 37.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.004704, allocations: 19.73 kB / 322.7 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.004911, allocations: 27.78 kB / 322.8 MB, free: 37.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.005028, allocations: 47.95 kB / 322.8 MB, free: 37.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005203, allocations: 127.6 kB / 322.9 MB, free: 37.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.005363, allocations: 30.86 kB / 323 MB, free: 37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.005481, allocations: 75.8 kB / 323.1 MB, free: 36.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.005588, allocations: 23.91 kB / 323.1 MB, free: 36.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.005616, allocations: 12 kB / 323.1 MB, free: 36.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.005632, allocations: 8 kB / 323.1 MB, free: 36.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.005664, allocations: 31.84 kB / 323.1 MB, free: 36.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.005703, allocations: 19.94 kB / 323.1 MB, free: 36.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.005878, allocations: 83.59 kB / 323.2 MB, free: 36.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005882, allocations: 0 / 323.2 MB, free: 36.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005884, allocations: 4 kB / 323.2 MB, free: 36.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.005889, allocations: 0 / 323.2 MB, free: 36.75 MB / 282.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.0005134/0.006403, allocations: 450.7 kB / 323.7 MB, free: 36.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.006453, allocations: 8.031 kB / 323.7 MB, free: 36.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.006506, allocations: 24.84 kB / 323.7 MB, free: 36.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006708, allocations: 156.4 kB / 323.9 MB, free: 36.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.006734, allocations: 8.562 kB / 323.9 MB, free: 36.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.006762, allocations: 12.38 kB / 323.9 MB, free: 36.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.006985, allocations: 145.8 kB / 324 MB, free: 35.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006996, allocations: 0 / 324 MB, free: 35.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.007009, allocations: 8 kB / 324 MB, free: 35.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007016, allocations: 0 / 324 MB, free: 35.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.007075, allocations: 29.78 kB / 324.1 MB, free: 35.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.007645, allocations: 0.6485 MB / 324.7 MB, free: 35.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.007838, allocations: 113.2 kB / 324.8 MB, free: 34.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.007874, allocations: 43.17 kB / 324.9 MB, free: 34.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.007895, allocations: 0 / 324.9 MB, free: 34.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.007915, allocations: 37.39 kB / 324.9 MB, free: 34.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.007916, allocations: 0 / 324.9 MB, free: 34.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001754/0.008091, allocations: 85.44 kB / 325 MB, free: 34.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.008117, allocations: 106.8 kB / 325.1 MB, free: 34.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.008195, allocations: 205.8 kB / 325.3 MB, free: 34.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.008204, allocations: 29.95 kB / 325.3 MB, free: 34.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.008256, allocations: 170.6 kB / 325.5 MB, free: 34.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.00828, allocations: 31.73 kB / 325.5 MB, free: 34.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.008318, allocations: 31.36 kB / 325.5 MB, free: 34.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.008371, allocations: 0.4962 MB / 326 MB, free: 33.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.008388, allocations: 4 kB / 326 MB, free: 33.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.008439, allocations: 130 kB / 326.2 MB, free: 33.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.294e-05/0.008502, allocations: 92.5 kB / 326.3 MB, free: 33.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.008505, allocations: 4 kB / 326.3 MB, free: 33.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.513e-05/0.0086, allocations: 85.52 kB / 326.3 MB, free: 33.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.008617, allocations: 4 kB / 326.3 MB, free: 33.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.008626, allocations: 11.92 kB / 326.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.008642, allocations: 0 / 326.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.008731, allocations: 23.98 kB / 326.4 MB, free: 33.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.008735, allocations: 4.156 kB / 326.4 MB, free: 33.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.008777, allocations: 15.94 kB / 326.4 MB, free: 33.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.008784, allocations: 4 kB / 326.4 MB, free: 33.22 MB / 282.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 5.77e-05/0.008842, allocations: 160.5 kB / 326.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.008865, allocations: 15.95 kB / 326.6 MB, free: 33.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.008897, allocations: 12.41 kB / 326.6 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008899, allocations: 4 kB / 326.6 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.008901, allocations: 0 / 326.6 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.008906, allocations: 8.797 kB / 326.6 MB, free: 33.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.009013, allocations: 125.2 kB / 326.7 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.009015, allocations: 4 kB / 326.7 MB, free: 32.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.00907, allocations: 15.98 kB / 326.7 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009073, allocations: 4 kB / 326.7 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.009082, allocations: 0 / 326.7 MB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.009085, allocations: 4.25 kB / 326.8 MB, free: 32.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.009088, allocations: 7.938 kB / 326.8 MB, free: 32.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.009848, allocations: 1.504 MB / 328.3 MB, free: 31.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.009861, allocations: 23.92 kB / 328.3 MB, free: 31.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.00987, allocations: 0 / 328.3 MB, free: 31.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.009917, allocations: 8 kB / 328.3 MB, free: 31.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.009957, allocations: 7.984 kB / 328.3 MB, free: 31.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.009962, allocations: 0 / 328.3 MB, free: 31.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.01, allocations: 150.6 kB / 328.5 MB, free: 31.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01, allocations: 0 / 328.5 MB, free: 31.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.01025, allocations: 23.89 kB / 328.5 MB, free: 31 MB / 282.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 9.791e-05/0.01035, allocations: 99.25 kB / 328.6 MB, free: 30.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.01045, allocations: 47.53 kB / 328.6 MB, free: 30.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01046, allocations: 4 kB / 328.6 MB, free: 30.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.01048, allocations: 27.61 kB / 328.6 MB, free: 30.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01072, allocations: 27.36 kB / 328.7 MB, free: 30.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.01113, allocations: 423.8 kB / 329.1 MB, free: 30.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.01116, allocations: 68.47 kB / 329.2 MB, free: 30.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.0112, allocations: 16.52 kB / 329.2 MB, free: 30.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.01126, allocations: 82.2 kB / 329.3 MB, free: 30.13 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01126, allocations: 0 / 329.3 MB, free: 30.13 MB / 282.7 MB Notification: Performance of Templates: time 0.003259/0.01452, allocations: 1.236 MB / 330.5 MB, free: 28.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.9707386628724635]