Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 109.7 kB / 19.7 MB, free: 2.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 193.8 kB / 22.98 MB, free: 5.062 MB / 14.72 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 1.612/1.612, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.07194/0.07194, allocations: 14.38 MB / 300.4 MB, free: 7.461 MB / 238.1 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.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=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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.89 kB / 424.2 MB, free: 36.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09564, allocations: 52.89 MB / 477.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003269/0.09891, allocations: 1.842 MB / 478.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004849/0.09939, allocations: 179.4 kB / 479.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.0995, allocations: 7.938 kB / 479.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.09964, allocations: 15.8 kB / 479.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.09979, allocations: 31.8 kB / 479.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.09992, allocations: 43.83 kB / 479.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1001, allocations: 123.7 kB / 479.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1003, allocations: 45.44 kB / 479.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.1003, allocations: 55.72 kB / 479.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1004, allocations: 43.78 kB / 479.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1005, allocations: 8 kB / 479.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.1005, allocations: 8 kB / 479.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.1005, allocations: 23.92 kB / 479.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.1006, allocations: 59.66 kB / 479.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1008, allocations: 103.5 kB / 479.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1008, allocations: 0 / 479.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1008, allocations: 0 / 479.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1008, allocations: 0 / 479.7 MB, free: 12.89 MB / 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.000611/0.1014, allocations: 346 kB / 480 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1014, allocations: 8.031 kB / 480 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1015, allocations: 20.84 kB / 480 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1018, allocations: 154.3 kB / 480.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1018, allocations: 12.56 kB / 480.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1018, allocations: 12.31 kB / 480.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1021, allocations: 138.2 kB / 480.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1021, allocations: 7.984 kB / 480.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1021, allocations: 4 kB / 480.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1021, allocations: 4 kB / 480.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1023, allocations: 55.91 kB / 480.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1031, allocations: 0.5787 MB / 481 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1035, allocations: 99.77 kB / 481.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1036, allocations: 46.81 kB / 481.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1036, allocations: 7.875 kB / 481.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1036, allocations: 38.56 kB / 481.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1036, allocations: 0 / 481.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.104, allocations: 117.5 kB / 481.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.1041, allocations: 102.8 kB / 481.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1042, allocations: 155 kB / 481.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1043, allocations: 25.7 kB / 481.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.1044, allocations: 123.9 kB / 481.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1044, allocations: 19.81 kB / 481.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.1044, allocations: 29.95 kB / 481.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1046, allocations: 326.8 kB / 482 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.1047, allocations: 19.98 kB / 482.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1048, allocations: 69.98 kB / 482.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.105, allocations: 97.3 kB / 482.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.105, allocations: 4 kB / 482.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002696/0.1053, allocations: 121.5 kB / 482.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1053, allocations: 8 kB / 482.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1053, allocations: 0 / 482.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1053, allocations: 4 kB / 482.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1055, allocations: 31.84 kB / 482.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1055, allocations: 4 kB / 482.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.1056, allocations: 11.89 kB / 482.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1056, allocations: 4.156 kB / 482.4 MB, free: 9.828 MB / 350.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 0.0001203/0.1057, allocations: 129.8 kB / 482.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1057, allocations: 11.94 kB / 482.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.1058, allocations: 20.34 kB / 482.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1058, allocations: 0 / 482.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1058, allocations: 4 kB / 482.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1058, allocations: 0 / 482.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.106, allocations: 176.6 kB / 482.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.106, allocations: 0 / 482.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1061, allocations: 19.98 kB / 482.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1062, allocations: 0 / 482.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1062, allocations: 7.984 kB / 482.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1062, allocations: 0 / 482.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1062, allocations: 0 / 482.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.1078, allocations: 1.273 MB / 484 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.1078, allocations: 7.984 kB / 484.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1079, allocations: 11.94 kB / 484.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.1079, allocations: 0 / 484.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.108, allocations: 7.984 kB / 484.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.108, allocations: 4 kB / 484.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1081, allocations: 123.8 kB / 484.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1081, allocations: 0 / 484.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1085, allocations: 31.89 kB / 484.2 MB, free: 7.832 MB / 350.1 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.794e-05/0.1086, allocations: 95.53 kB / 484.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1088, allocations: 63.97 kB / 484.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1088, allocations: 0 / 484.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.1089, allocations: 31.92 kB / 484.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1093, allocations: 28.36 kB / 484.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.11, allocations: 372 kB / 484.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1104, allocations: 0.7079 MB / 485.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.599e-05/0.1105, allocations: 16.48 kB / 485.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1105, allocations: 15.44 kB / 485.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1105, allocations: 0 / 485.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Templates: time 0.004456/0.1149, allocations: 1.078 MB / 486.6 MB, free: 5.363 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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: 5.031578219495714]