Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.0009749/0.0009749, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009737/0.0009737, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 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.8245/0.8245, allocations: 158.6 MB / 184.9 MB, free: 2.93 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.03943/0.03943, allocations: 10.65 MB / 247.9 MB, free: 4.461 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_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_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 319.5 MB, free: 39.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.342e-05, allocations: 3.188 kB / 319.5 MB, free: 39.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001855/0.001878, allocations: 1.842 MB / 321.3 MB, free: 37.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003194/0.002198, allocations: 167.5 kB / 321.5 MB, free: 37.56 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.002285, allocations: 7.938 kB / 321.5 MB, free: 37.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.002415, allocations: 19.8 kB / 321.5 MB, free: 37.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.002547, allocations: 31.73 kB / 321.5 MB, free: 37.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.003e-05/0.002617, allocations: 39.94 kB / 321.6 MB, free: 37.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.002733, allocations: 131.6 kB / 321.7 MB, free: 37.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.002837, allocations: 34.84 kB / 321.7 MB, free: 37.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.002896, allocations: 63.83 kB / 321.8 MB, free: 37.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003, allocations: 35.89 kB / 321.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.003023, allocations: 11.98 kB / 321.8 MB, free: 37.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.003035, allocations: 8 kB / 321.8 MB, free: 37.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.003055, allocations: 19.88 kB / 321.9 MB, free: 37.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.003082, allocations: 27.92 kB / 321.9 MB, free: 37.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003197, allocations: 79.59 kB / 322 MB, free: 37.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003199, allocations: 0 / 322 MB, free: 37.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0032, allocations: 0 / 322 MB, free: 37.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003204, allocations: 4 kB / 322 MB, free: 37.06 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.0003472/0.003551, allocations: 450.7 kB / 322.4 MB, free: 36.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.003584, allocations: 8.031 kB / 322.4 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.003628, allocations: 24.84 kB / 322.4 MB, free: 36.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.003775, allocations: 160.4 kB / 322.6 MB, free: 36.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.003793, allocations: 12.56 kB / 322.6 MB, free: 36.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.003815, allocations: 8.375 kB / 322.6 MB, free: 36.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.003976, allocations: 153.8 kB / 322.8 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.003984, allocations: 0 / 322.8 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.003994, allocations: 0 / 322.8 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004002, allocations: 4 kB / 322.8 MB, free: 36.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.004054, allocations: 35.91 kB / 322.8 MB, free: 36.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.004446, allocations: 0.6713 MB / 323.5 MB, free: 35.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.0046, allocations: 117.3 kB / 323.6 MB, free: 35.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.004633, allocations: 43.17 kB / 323.6 MB, free: 35.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.004646, allocations: 0 / 323.6 MB, free: 35.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.004663, allocations: 41.33 kB / 323.7 MB, free: 35.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.004664, allocations: 0 / 323.7 MB, free: 35.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001782/0.004842, allocations: 81.52 kB / 323.8 MB, free: 35.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.004868, allocations: 114.7 kB / 323.9 MB, free: 34.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.004952, allocations: 209.9 kB / 324.1 MB, free: 34.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.00496, allocations: 25.7 kB / 324.1 MB, free: 34.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.005002, allocations: 166.9 kB / 324.3 MB, free: 34.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.005017, allocations: 31.75 kB / 324.3 MB, free: 34.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.005048, allocations: 35.36 kB / 324.3 MB, free: 34.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.005084, allocations: 0.4923 MB / 324.8 MB, free: 33.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.005106, allocations: 4 kB / 324.8 MB, free: 33.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.005148, allocations: 132.9 kB / 325 MB, free: 33.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.005205, allocations: 89.98 kB / 325 MB, free: 33.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.005208, allocations: 8.281 kB / 325.1 MB, free: 33.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.722e-05/0.005295, allocations: 89.52 kB / 325.1 MB, free: 33.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005307, allocations: 13.34 kB / 325.2 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.005311, allocations: 0 / 325.2 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005324, allocations: 4 kB / 325.2 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.005402, allocations: 23.98 kB / 325.2 MB, free: 33.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.005407, allocations: 7.984 kB / 325.2 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.005442, allocations: 16.05 kB / 325.2 MB, free: 33.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.00545, allocations: 4 kB / 325.2 MB, free: 33.46 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.393e-05/0.005504, allocations: 160.6 kB / 325.4 MB, free: 33.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.005524, allocations: 11.89 kB / 325.4 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.005547, allocations: 20.45 kB / 325.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005549, allocations: 4 kB / 325.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005552, allocations: 0 / 325.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005555, allocations: 0 / 325.4 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.462e-05/0.005649, allocations: 152.5 kB / 325.6 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005651, allocations: 0 / 325.6 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.005702, allocations: 19.98 kB / 325.6 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.005704, allocations: 0 / 325.6 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.005713, allocations: 11.81 kB / 325.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.005715, allocations: 4 kB / 325.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005716, allocations: 0 / 325.6 MB, free: 33.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.005851, allocations: 247.2 kB / 325.8 MB, free: 32.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.005862, allocations: 3.953 kB / 325.8 MB, free: 32.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.005877, allocations: 11.94 kB / 325.8 MB, free: 32.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.005917, allocations: 3.984 kB / 325.8 MB, free: 32.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.005951, allocations: 11.92 kB / 325.9 MB, free: 32.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.005955, allocations: 8.031 kB / 325.9 MB, free: 32.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.005989, allocations: 150.6 kB / 326 MB, free: 32.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005989, allocations: 0 / 326 MB, free: 32.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.006149, allocations: 15.95 kB / 326 MB, free: 32.58 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 5.341e-05/0.006202, allocations: 103.2 kB / 326.1 MB, free: 32.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.006307, allocations: 43.61 kB / 326.2 MB, free: 32.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006308, allocations: 0 / 326.2 MB, free: 32.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.006334, allocations: 36.17 kB / 326.2 MB, free: 32.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.00655, allocations: 25.38 kB / 326.2 MB, free: 32.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.006868, allocations: 253.8 kB / 326.5 MB, free: 32.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.645e-05/0.006894, allocations: 67.97 kB / 326.5 MB, free: 31.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.006932, allocations: 16.53 kB / 326.6 MB, free: 31.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.006963, allocations: 16.5 kB / 326.6 MB, free: 31.95 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.006964, allocations: 0 / 326.6 MB, free: 31.95 MB / 282.7 MB Notification: Performance of Templates: time 0.002722/0.009687, allocations: 1.162 MB / 327.7 MB, free: 30.81 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.6806665509939194]