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.0009742/0.0009742, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00104/0.00104, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.9163/0.9163, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.04475/0.04475, allocations: 12.52 MB / 272.5 MB, free: 1.133 MB / 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 2.144e-06/2.144e-06, allocations: 0 / 405.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.129e-05, allocations: 4.25 kB / 405.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002661/0.002693, allocations: 1.78 MB / 407.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.003108, allocations: 163.5 kB / 407.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.003229, allocations: 11.94 kB / 407.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.003379, allocations: 27.67 kB / 407.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.003549, allocations: 23.8 kB / 408 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.003659, allocations: 43.88 kB / 408 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.00412, allocations: 123.6 kB / 408.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.004277, allocations: 33.5 kB / 408.1 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.004367, allocations: 67.83 kB / 408.2 MB, free: 4.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004468, allocations: 31.91 kB / 408.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.004502, allocations: 11.98 kB / 408.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.004516, allocations: 8 kB / 408.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.004545, allocations: 27.86 kB / 408.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.004582, allocations: 23.92 kB / 408.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.00478, allocations: 107.6 kB / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004783, allocations: 0 / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004784, allocations: 0 / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.004789, allocations: 3.938 kB / 408.4 MB, free: 4.293 MB / 330.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.0005068/0.005296, allocations: 342 kB / 408.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.005338, allocations: 12.03 kB / 408.8 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.005385, allocations: 16.84 kB / 408.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.005667, allocations: 163.9 kB / 408.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.005685, allocations: 8.562 kB / 409 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.00572, allocations: 8.375 kB / 409 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.005952, allocations: 135 kB / 409.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005961, allocations: 0 / 409.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005973, allocations: 4 kB / 409.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005979, allocations: 8 kB / 409.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.006097, allocations: 69.7 kB / 409.2 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.006665, allocations: 0.5209 MB / 409.7 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.006919, allocations: 108 kB / 409.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.006981, allocations: 42.62 kB / 409.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006999, allocations: 4 kB / 409.8 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.007021, allocations: 42.44 kB / 409.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.007022, allocations: 0 / 409.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002613/0.007284, allocations: 109.5 kB / 410 MB, free: 2.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.007333, allocations: 114.8 kB / 410.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007443, allocations: 150.1 kB / 410.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007456, allocations: 25.7 kB / 410.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.007531, allocations: 127.8 kB / 410.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.007551, allocations: 28.05 kB / 410.4 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.007595, allocations: 29.66 kB / 410.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.007698, allocations: 318.8 kB / 410.8 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.007759, allocations: 27.97 kB / 410.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.007844, allocations: 99.62 kB / 410.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.007964, allocations: 101.3 kB / 411 MB, free: 1.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007966, allocations: 0 / 411 MB, free: 1.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001632/0.008129, allocations: 117.5 kB / 411.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.008146, allocations: 11.94 kB / 411.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.008153, allocations: 0 / 411.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.00817, allocations: 4 kB / 411.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.008258, allocations: 32.08 kB / 411.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008265, allocations: 0 / 411.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.008311, allocations: 19.88 kB / 411.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.00832, allocations: 4 kB / 411.2 MB, free: 1.254 MB / 330.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 9.258e-05/0.008413, allocations: 129.8 kB / 411.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.008435, allocations: 11.89 kB / 411.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.008463, allocations: 16.45 kB / 411.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.008468, allocations: 4 kB / 411.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.008473, allocations: 0 / 411.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.008477, allocations: 4 kB / 411.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.008628, allocations: 141.3 kB / 411.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00863, allocations: 0 / 411.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.008705, allocations: 19.92 kB / 411.5 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.00871, allocations: 4 kB / 411.5 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.008721, allocations: 3.938 kB / 411.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008723, allocations: 0 / 411.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.008725, allocations: 4 kB / 411.5 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.008985, allocations: 233.1 kB / 411.7 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.009005, allocations: 11.98 kB / 411.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.00902, allocations: 3.938 kB / 411.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.009066, allocations: 12.05 kB / 411.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.009117, allocations: 15.92 kB / 411.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.00912, allocations: 0 / 411.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.009185, allocations: 107.3 kB / 411.9 MB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009185, allocations: 0 / 411.9 MB, free: 500 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.009367, allocations: 19.94 kB / 411.9 MB, free: 480 kB / 330.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 0.0001365/0.009504, allocations: 103.8 kB / 412 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.009694, allocations: 59.91 kB / 412.1 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009696, allocations: 0 / 412.1 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.009748, allocations: 31.92 kB / 412.1 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01003, allocations: 30.58 kB / 412.1 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1583/0.1683, allocations: 269.4 kB / 412.4 MB, free: 22.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.1684, allocations: 95.41 kB / 412.5 MB, free: 22.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1684, allocations: 15.61 kB / 412.5 MB, free: 22.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1684, allocations: 0 / 412.5 MB, free: 22.69 MB / 330.7 MB Notification: Performance of Templates: time 0.002483/0.1709, allocations: 1.436 MB / 413.9 MB, free: 22.66 MB / 330.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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_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.711916589178145]