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.00139/0.00139, allocations: 88.72 kB / 19.44 MB, free: 328 kB / 13.93 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.001801/0.001801, allocations: 161.7 kB / 22.76 MB, free: 1.652 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.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] 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.08793/0.08793, allocations: 12.71 MB / 272.3 MB, free: 0.6445 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 1.773e-06/1.773e-06, allocations: 0 / 348.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.036e-05, allocations: 2.312 kB / 348.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003783/0.003813, allocations: 1.788 MB / 350.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.004294, allocations: 163.4 kB / 350.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004417, allocations: 7.938 kB / 350.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.004572, allocations: 19.8 kB / 350.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.004736, allocations: 27.78 kB / 350.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.004865, allocations: 47.89 kB / 350.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.00507, allocations: 123.6 kB / 350.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.005219, allocations: 41.5 kB / 350.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.005336, allocations: 59.83 kB / 350.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005438, allocations: 35.89 kB / 350.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.005465, allocations: 8 kB / 350.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.005483, allocations: 8 kB / 350.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.005521, allocations: 27.84 kB / 350.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.005568, allocations: 23.92 kB / 350.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.005776, allocations: 111.6 kB / 350.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005779, allocations: 3.938 kB / 350.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00578, allocations: 4 kB / 350.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.005786, allocations: 0 / 350.9 MB, free: 13.4 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.0006129/0.006398, allocations: 342 kB / 351.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.006435, allocations: 8.031 kB / 351.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.006507, allocations: 24.84 kB / 351.2 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.006844, allocations: 161.5 kB / 351.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.006862, allocations: 4.562 kB / 351.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.006896, allocations: 16.38 kB / 351.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.007199, allocations: 140.6 kB / 351.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.00721, allocations: 3.938 kB / 351.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.007228, allocations: 7.984 kB / 351.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.007238, allocations: 4 kB / 351.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.007459, allocations: 67.89 kB / 351.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.008265, allocations: 0.5132 MB / 352.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.008606, allocations: 111.8 kB / 352.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.008731, allocations: 42.75 kB / 352.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.008751, allocations: 0 / 352.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.008791, allocations: 50.38 kB / 352.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.008792, allocations: 0 / 352.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004407/0.009232, allocations: 117.7 kB / 352.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.009318, allocations: 110.8 kB / 352.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.00949, allocations: 151.8 kB / 352.7 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.00952, allocations: 33.7 kB / 352.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.009619, allocations: 115.9 kB / 352.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.009651, allocations: 27.78 kB / 352.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.009712, allocations: 29.66 kB / 352.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.009903, allocations: 322.8 kB / 353.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.01, allocations: 27.92 kB / 353.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01019, allocations: 126.2 kB / 353.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.01042, allocations: 97.36 kB / 353.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01042, allocations: 0 / 353.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003208/0.01074, allocations: 125.5 kB / 353.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01075, allocations: 7.938 kB / 353.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01076, allocations: 4 kB / 353.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.01078, allocations: 0 / 353.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01093, allocations: 31.91 kB / 353.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.01093, allocations: 0 / 353.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01103, allocations: 15.94 kB / 353.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01105, allocations: 4 kB / 353.6 MB, free: 10.3 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 0.0001223/0.01117, allocations: 125.9 kB / 353.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.01121, allocations: 23.78 kB / 353.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.01125, allocations: 16.47 kB / 353.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01125, allocations: 0 / 353.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.01126, allocations: 4 kB / 353.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01126, allocations: 0 / 353.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.01149, allocations: 137.3 kB / 353.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01149, allocations: 3.938 kB / 354 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01161, allocations: 15.98 kB / 354 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01161, allocations: 0 / 354 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01163, allocations: 11.94 kB / 354 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01163, allocations: 4 kB / 354 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01164, allocations: 0 / 354 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.01207, allocations: 229.1 kB / 354.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.0121, allocations: 11.94 kB / 354.2 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.01212, allocations: 7.938 kB / 354.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01222, allocations: 4.062 kB / 354.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.01227, allocations: 11.98 kB / 354.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01228, allocations: 0 / 354.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.0124, allocations: 122.4 kB / 354.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0124, allocations: 0 / 354.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000278/0.01267, allocations: 23.94 kB / 354.4 MB, free: 9.512 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 0.000136/0.01281, allocations: 95.23 kB / 354.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.01307, allocations: 71.89 kB / 354.5 MB, free: 9.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01308, allocations: 0 / 354.5 MB, free: 9.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01318, allocations: 36.3 kB / 354.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.01354, allocations: 27.91 kB / 354.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.01419, allocations: 250.6 kB / 354.9 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01431, allocations: 85.31 kB / 354.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.01437, allocations: 16.55 kB / 355 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.01442, allocations: 12.5 kB / 355 MB, free: 8.867 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01442, allocations: 0 / 355 MB, free: 8.867 MB / 282.7 MB Notification: Performance of Templates: time 0.004161/0.01858, allocations: 1.065 MB / 356 MB, free: 7.816 MB / 282.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.495793909067288]