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.001336/0.001336, allocations: 96.42 kB / 20.45 MB, free: 1.258 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.00153/0.00153, allocations: 221.2 kB / 23.76 MB, free: 4.434 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.494/1.494, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.07499/0.07499, allocations: 14.39 MB / 301.2 MB, free: 7.266 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_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: 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.002384/0.002384, allocations: 76.5 kB / 425 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07989, allocations: 52.9 MB / 477.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003147/0.08304, allocations: 1.764 MB / 479.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.08347, allocations: 175.5 kB / 479.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.08359, allocations: 3.938 kB / 479.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.08374, allocations: 27.73 kB / 479.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.0839, allocations: 23.8 kB / 479.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.084, allocations: 43.89 kB / 479.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.0842, allocations: 123.7 kB / 480 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.08434, allocations: 41.44 kB / 480.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.08442, allocations: 55.78 kB / 480.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.08452, allocations: 43.72 kB / 480.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.08454, allocations: 8 kB / 480.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.08456, allocations: 8 kB / 480.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.08459, allocations: 15.94 kB / 480.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.08464, allocations: 39.73 kB / 480.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.08481, allocations: 111.5 kB / 480.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.08481, allocations: 0 / 480.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08482, allocations: 0 / 480.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08482, allocations: 0 / 480.3 MB, free: 12.77 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.0005592/0.08538, allocations: 350 kB / 480.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.08542, allocations: 12.03 kB / 480.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.08546, allocations: 16.84 kB / 480.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.08572, allocations: 162.3 kB / 480.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.08573, allocations: 8.562 kB / 480.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.08576, allocations: 8.375 kB / 480.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.08604, allocations: 138.2 kB / 481 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.08605, allocations: 4 kB / 481 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.08606, allocations: 4 kB / 481 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.08607, allocations: 4 kB / 481 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.08626, allocations: 69.08 kB / 481.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.08695, allocations: 0.5169 MB / 481.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.08723, allocations: 103.7 kB / 481.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.08736, allocations: 46.81 kB / 481.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.08738, allocations: 3.938 kB / 481.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.08741, allocations: 38.56 kB / 481.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.08741, allocations: 3.938 kB / 481.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003927/0.0878, allocations: 113.5 kB / 481.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.08788, allocations: 106.8 kB / 482 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.08803, allocations: 147.1 kB / 482.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.08805, allocations: 33.89 kB / 482.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.08814, allocations: 127.8 kB / 482.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.08817, allocations: 23.81 kB / 482.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.08822, allocations: 29.7 kB / 482.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.08838, allocations: 322.8 kB / 482.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.08847, allocations: 19.98 kB / 482.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.0886, allocations: 95.69 kB / 482.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.08882, allocations: 93.11 kB / 482.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.08882, allocations: 0 / 482.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002858/0.08911, allocations: 125.4 kB / 483 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.08912, allocations: 4 kB / 483 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.08913, allocations: 160 / 483 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.08914, allocations: 8 kB / 483 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.08928, allocations: 32.22 kB / 483.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.08929, allocations: 0 / 483.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.08938, allocations: 19.89 kB / 483.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.08939, allocations: 4 kB / 483.1 MB, free: 9.734 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.0001187/0.08951, allocations: 125.8 kB / 483.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.08955, allocations: 15.94 kB / 483.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.08959, allocations: 12.41 kB / 483.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.0896, allocations: 11.94 kB / 483.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.0896, allocations: 0 / 483.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0896, allocations: 0 / 483.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.08979, allocations: 137.3 kB / 483.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.0898, allocations: 3.938 kB / 483.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.08991, allocations: 19.92 kB / 483.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.08991, allocations: 4 kB / 483.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.08992, allocations: 4 kB / 483.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.08992, allocations: 0 / 483.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.08992, allocations: 4 kB / 483.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.09148, allocations: 1.238 MB / 484.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.0915, allocations: 7.984 kB / 484.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.09151, allocations: 11.94 kB / 484.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.09161, allocations: 4 kB / 484.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.09165, allocations: 8.016 kB / 484.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.09166, allocations: 8 kB / 484.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.09176, allocations: 119.9 kB / 484.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09176, allocations: 3.938 kB / 484.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.09212, allocations: 27.89 kB / 484.8 MB, free: 7.824 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.749e-05/0.09221, allocations: 91.25 kB / 484.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.09247, allocations: 71.89 kB / 485 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.09247, allocations: 320 / 485 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.09256, allocations: 31.92 kB / 485 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.0929, allocations: 27.73 kB / 485 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.09356, allocations: 397.7 kB / 485.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.889e-05/0.09366, allocations: 93.3 kB / 485.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.0937, allocations: 23.38 kB / 485.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0937, allocations: 0 / 485.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Templates: time 0.003387/0.09709, allocations: 1.468 MB / 487 MB, free: 5.555 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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: 7.082112406380475]