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.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.001445/0.001445, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001796/0.001796, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.06528/0.06528, allocations: 13.12 MB / 273.4 MB, free: 224 kB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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 1.653e-06/1.653e-06, allocations: 0 / 296.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.729e-05, allocations: 3.297 kB / 296.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.006187/0.006214, allocations: 1.823 MB / 298.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005308/0.006745, allocations: 171.1 kB / 298.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.006868, allocations: 8.875 kB / 298.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.00703, allocations: 25.14 kB / 298.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.007183, allocations: 26.94 kB / 298.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.0073, allocations: 41.75 kB / 299 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.007479, allocations: 129.4 kB / 299.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.007622, allocations: 41.41 kB / 299.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.007731, allocations: 62.77 kB / 299.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.007836, allocations: 35.73 kB / 299.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.007867, allocations: 8.312 kB / 299.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.007882, allocations: 10.31 kB / 299.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.00791, allocations: 22.22 kB / 299.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.007949, allocations: 33.62 kB / 299.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.008118, allocations: 67.47 kB / 299.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.008123, allocations: 3.938 kB / 299.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008125, allocations: 1.031 kB / 299.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00813, allocations: 2.344 kB / 299.4 MB, free: 8.973 MB / 266.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.000403/0.008532, allocations: 319.7 kB / 299.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.00857, allocations: 10.48 kB / 299.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.008619, allocations: 17.52 kB / 299.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.01183, allocations: 159.3 kB / 299.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.01185, allocations: 8.891 kB / 299.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.01188, allocations: 15.31 kB / 299.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.01208, allocations: 127.5 kB / 300 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01209, allocations: 0.7031 kB / 300 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.0121, allocations: 2.25 kB / 300 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.01211, allocations: 6.281 kB / 300 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.01216, allocations: 32.16 kB / 300.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.01263, allocations: 451.7 kB / 300.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.0128, allocations: 81.45 kB / 300.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.01283, allocations: 28.19 kB / 300.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01285, allocations: 5.938 kB / 300.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.01287, allocations: 33.06 kB / 300.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.01287, allocations: 0 / 300.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001685/0.01304, allocations: 77.67 kB / 300.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.01307, allocations: 104.6 kB / 300.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.01315, allocations: 150.8 kB / 301 MB, free: 7.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.01316, allocations: 28.02 kB / 301 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.01321, allocations: 114.9 kB / 301.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.01322, allocations: 25.64 kB / 301.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.01327, allocations: 27.7 kB / 301.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.0133, allocations: 325.2 kB / 301.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.01333, allocations: 6.609 kB / 301.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.01338, allocations: 121.4 kB / 301.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.01346, allocations: 66.86 kB / 301.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01346, allocations: 1.062 kB / 301.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001154/0.01358, allocations: 78.05 kB / 301.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01359, allocations: 6.109 kB / 301.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.0136, allocations: 1.375 kB / 301.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.01362, allocations: 10.84 kB / 301.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01373, allocations: 26.08 kB / 301.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01373, allocations: 1.984 kB / 301.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.01378, allocations: 13.2 kB / 301.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.01379, allocations: 3.359 kB / 301.8 MB, free: 6.816 MB / 266.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 6.695e-05/0.01386, allocations: 118.5 kB / 301.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01389, allocations: 7.703 kB / 301.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.01392, allocations: 13.23 kB / 301.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01392, allocations: 5.312 kB / 302 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01393, allocations: 5.375 kB / 302 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01393, allocations: 1.938 kB / 302 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.01407, allocations: 97.47 kB / 302.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01407, allocations: 0 / 302.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.01415, allocations: 19.55 kB / 302.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01415, allocations: 1.375 kB / 302.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01416, allocations: 2.172 kB / 302.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01416, allocations: 0 / 302.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01416, allocations: 2.219 kB / 302.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01432, allocations: 181.5 kB / 302.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.01434, allocations: 16.36 kB / 302.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01435, allocations: 3.703 kB / 302.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.01442, allocations: 6.344 kB / 302.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.01446, allocations: 10.11 kB / 302.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01446, allocations: 1.969 kB / 302.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.01451, allocations: 37.27 kB / 302.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01451, allocations: 0 / 302.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003252/0.01776, allocations: 16.69 kB / 302.3 MB, free: 6.391 MB / 266.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.927e-05/0.01786, allocations: 75.25 kB / 302.4 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01798, allocations: 46.62 kB / 302.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01798, allocations: 9.281 kB / 302.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.01801, allocations: 23.17 kB / 302.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01826, allocations: 21.7 kB / 302.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.0187, allocations: 244.1 kB / 302.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.01874, allocations: 65.12 kB / 302.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.0188, allocations: 12.64 kB / 302.8 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.01886, allocations: 65.64 kB / 302.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01886, allocations: 0 / 302.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of Templates: time 0.007976/0.02684, allocations: 1.107 MB / 304 MB, free: 5.809 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.92470413306728]