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.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.001476/0.001476, allocations: 114.6 kB / 19.7 MB, free: 2.18 MB / 14.72 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.001837/0.001837, allocations: 208.1 kB / 23.01 MB, free: 4.996 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.601/1.601, allocations: 207.6 MB / 233.8 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.07458/0.07458, allocations: 14.38 MB / 300.4 MB, free: 7.449 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.91 kB / 424.2 MB, free: 36.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09401, allocations: 52.9 MB / 477.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003796/0.09781, allocations: 1.834 MB / 479 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005581/0.09836, allocations: 179.4 kB / 479.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.09856, allocations: 11.88 kB / 479.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.09874, allocations: 19.8 kB / 479.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.09895, allocations: 27.78 kB / 479.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.09913, allocations: 51.89 kB / 479.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.09938, allocations: 115.7 kB / 479.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.09954, allocations: 45.44 kB / 479.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.09964, allocations: 47.84 kB / 479.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.09977, allocations: 47.66 kB / 479.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.0998, allocations: 11.94 kB / 479.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.09982, allocations: 8 kB / 479.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.09985, allocations: 23.92 kB / 479.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.09993, allocations: 51.67 kB / 479.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1001, allocations: 107.5 kB / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1001, allocations: 0 / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1001, allocations: 4 kB / 479.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1002, allocations: 0 / 479.7 MB, free: 12.86 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.0006702/0.1008, allocations: 346 kB / 480 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1009, allocations: 8.031 kB / 480.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.1009, allocations: 16.84 kB / 480.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1013, allocations: 162.3 kB / 480.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1013, allocations: 8.562 kB / 480.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1014, allocations: 8.375 kB / 480.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1017, allocations: 134.2 kB / 480.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1017, allocations: 7.875 kB / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1017, allocations: 4 kB / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1017, allocations: 4 kB / 480.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1019, allocations: 67.89 kB / 480.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.1028, allocations: 0.567 MB / 481 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1031, allocations: 103.9 kB / 481.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1033, allocations: 50.66 kB / 481.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1033, allocations: 4 kB / 481.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1033, allocations: 38.5 kB / 481.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1033, allocations: 0 / 481.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004304/0.1038, allocations: 113.5 kB / 481.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.1038, allocations: 107.1 kB / 481.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.104, allocations: 151.1 kB / 481.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.104, allocations: 25.7 kB / 481.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1041, allocations: 123.9 kB / 481.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1042, allocations: 27.8 kB / 481.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.1042, allocations: 17.72 kB / 481.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1044, allocations: 330.8 kB / 482.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.1045, allocations: 19.98 kB / 482.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1046, allocations: 77.97 kB / 482.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1048, allocations: 97.03 kB / 482.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1048, allocations: 0 / 482.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002737/0.1051, allocations: 117.5 kB / 482.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1051, allocations: 8 kB / 482.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1051, allocations: 4.469 kB / 482.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1052, allocations: 4 kB / 482.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1053, allocations: 27.92 kB / 482.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1053, allocations: 7.938 kB / 482.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.1054, allocations: 23.81 kB / 482.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1054, allocations: 4 kB / 482.5 MB, free: 9.789 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.0001179/0.1055, allocations: 125.8 kB / 482.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1056, allocations: 7.953 kB / 482.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.1056, allocations: 16.41 kB / 482.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1056, allocations: 0 / 482.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1056, allocations: 4 kB / 482.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1056, allocations: 3.984 kB / 482.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1059, allocations: 176.6 kB / 482.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1059, allocations: 3.938 kB / 482.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.106, allocations: 15.98 kB / 482.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.106, allocations: 0 / 482.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.106, allocations: 4 kB / 482.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.106, allocations: 0 / 482.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.106, allocations: 4 kB / 482.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1075, allocations: 1.265 MB / 484.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.1076, allocations: 7.984 kB / 484.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1076, allocations: 7.938 kB / 484.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.1077, allocations: 8.078 kB / 484.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1077, allocations: 12.03 kB / 484.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1077, allocations: 7.984 kB / 484.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1078, allocations: 107.9 kB / 484.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1078, allocations: 4 kB / 484.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1082, allocations: 27.89 kB / 484.3 MB, free: 7.812 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 0.0001053/0.1083, allocations: 99.17 kB / 484.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1086, allocations: 67.91 kB / 484.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1086, allocations: 4 kB / 484.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.1087, allocations: 31.92 kB / 484.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.109, allocations: 25.05 kB / 484.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.1097, allocations: 376.5 kB / 484.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.11, allocations: 0.7041 MB / 485.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.1101, allocations: 12.48 kB / 485.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1101, allocations: 11.44 kB / 485.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1101, allocations: 3.938 kB / 485.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004485/0.1146, allocations: 1.085 MB / 486.7 MB, free: 5.332 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_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_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: 4.947916407138109]