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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 114.6 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07876/0.07876, allocations: 16.79 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 429.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09212, allocations: 53.56 MB / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002701/0.09485, allocations: 1.814 MB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.09524, allocations: 163.5 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.09534, allocations: 7.938 kB / 484.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.09549, allocations: 27.78 kB / 484.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.09564, allocations: 19.8 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.517e-05/0.09574, allocations: 47.89 kB / 485 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.09591, allocations: 115.7 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.09607, allocations: 61.3 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.09614, allocations: 51.72 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.09623, allocations: 43.78 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.09626, allocations: 8 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.09628, allocations: 8 kB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.09632, allocations: 27.92 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.09637, allocations: 47.67 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.09653, allocations: 115.4 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09654, allocations: 0 / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.09655, allocations: 0 / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.09656, allocations: 3.938 kB / 485.5 MB, free: 316 kB / 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.0004912/0.09705, allocations: 423 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.0971, allocations: 12.03 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.09714, allocations: 12.84 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.0974, allocations: 224.1 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.09742, allocations: 8.562 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.09746, allocations: 12.38 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.09771, allocations: 136.4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.09773, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.09774, allocations: 4 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.09775, allocations: 4 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.09796, allocations: 67.89 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.09859, allocations: 0.5953 MB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.09885, allocations: 107.9 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.09897, allocations: 54.61 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.099, allocations: 0 / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.09902, allocations: 34.56 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.09903, allocations: 0 / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.0994, allocations: 117.6 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.09946, allocations: 110.8 kB / 487.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.09958, allocations: 153.3 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.0996, allocations: 25.7 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.09967, allocations: 123.9 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.0997, allocations: 27.78 kB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.09975, allocations: 21.7 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.09986, allocations: 323 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.09995, allocations: 27.97 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1001, allocations: 66 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1003, allocations: 97.28 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1003, allocations: 7.938 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002566/0.1005, allocations: 125.4 kB / 488.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1006, allocations: 8 kB / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1006, allocations: 3.984 kB / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1006, allocations: 4 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1007, allocations: 27.92 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1007, allocations: 0 / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.1008, allocations: 15.92 kB / 488.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1008, allocations: 4 kB / 488.4 MB, free: 13.04 MB / 366.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 8.391e-05/0.1009, allocations: 129.9 kB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.101, allocations: 11.91 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.101, allocations: 24.22 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.101, allocations: 0 / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.101, allocations: 4 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1011, allocations: 81.06 kB / 488.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1011, allocations: 4 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1012, allocations: 11.98 kB / 488.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1013, allocations: 15.88 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003551/0.1016, allocations: 327.4 kB / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003983/0.102, allocations: 449.3 kB / 489.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.859e-05/0.1021, allocations: 32 kB / 489.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.1022, allocations: 111.2 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.1022, allocations: 0 / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.1028, allocations: 118.4 kB / 489.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007538/0.1036, allocations: 0.6845 MB / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Templates: time 0.003957/0.1075, allocations: 1.165 MB / 491.6 MB, free: 9.781 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile (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) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches