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.001482/0.001482, 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.001655/0.001655, 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.633/1.633, 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.07085/0.07085, allocations: 14.39 MB / 300.4 MB, free: 7.543 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.002135/0.002135, allocations: 74.41 kB / 424.2 MB, free: 36.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09519, allocations: 52.9 MB / 477.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003422/0.09861, allocations: 1.838 MB / 479 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.09911, allocations: 179.4 kB / 479.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.09922, allocations: 3.938 kB / 479.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.09942, allocations: 31.72 kB / 479.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.09961, allocations: 27.8 kB / 479.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.09975, allocations: 39.91 kB / 479.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.09998, allocations: 127.6 kB / 479.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1001, allocations: 49.44 kB / 479.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.1002, allocations: 43.8 kB / 479.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1003, allocations: 43.78 kB / 479.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.1004, allocations: 8 kB / 479.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.1004, allocations: 8 kB / 479.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.1004, allocations: 31.91 kB / 479.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1005, allocations: 51.61 kB / 479.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1007, allocations: 103.6 kB / 479.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1007, allocations: 0 / 479.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1007, allocations: 0 / 479.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1007, allocations: 0 / 479.7 MB, free: 12.87 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.0006396/0.1013, allocations: 349.9 kB / 480 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1014, allocations: 8.031 kB / 480.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.1014, allocations: 20.84 kB / 480.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1017, allocations: 154.3 kB / 480.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1017, allocations: 8.562 kB / 480.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1018, allocations: 12.38 kB / 480.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.1021, allocations: 142.1 kB / 480.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1021, allocations: 0 / 480.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1021, allocations: 8 kB / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1021, allocations: 0 / 480.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.1023, allocations: 67.89 kB / 480.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.1031, allocations: 0.5748 MB / 481 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1034, allocations: 104 kB / 481.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1035, allocations: 42.62 kB / 481.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1035, allocations: 0 / 481.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1036, allocations: 38.55 kB / 481.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1036, allocations: 0 / 481.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.104, allocations: 121.5 kB / 481.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.1041, allocations: 102.8 kB / 481.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1043, allocations: 147.1 kB / 481.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1043, allocations: 33.7 kB / 481.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1045, allocations: 123.8 kB / 481.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1046, allocations: 27.8 kB / 481.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.1046, allocations: 21.97 kB / 481.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.1049, allocations: 326.8 kB / 482.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.105, allocations: 23.98 kB / 482.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1051, allocations: 65.98 kB / 482.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1054, allocations: 105.2 kB / 482.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1054, allocations: 4 kB / 482.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.1056, allocations: 117.5 kB / 482.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1057, allocations: 7.984 kB / 482.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1057, allocations: 4 kB / 482.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1057, allocations: 0 / 482.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1058, allocations: 23.98 kB / 482.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1058, allocations: 7.938 kB / 482.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.1059, allocations: 11.89 kB / 482.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1059, allocations: 8.156 kB / 482.5 MB, free: 9.805 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.0001164/0.106, allocations: 133.7 kB / 482.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1061, allocations: 7.953 kB / 482.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1061, allocations: 16.41 kB / 482.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1061, allocations: 0 / 482.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1061, allocations: 0 / 482.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1061, allocations: 4 kB / 482.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1064, allocations: 180.6 kB / 482.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1064, allocations: 4 kB / 482.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1065, allocations: 19.98 kB / 482.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1065, allocations: 0 / 482.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1065, allocations: 0 / 482.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1065, allocations: 4 kB / 482.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1065, allocations: 3.938 kB / 482.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.1083, allocations: 1.269 MB / 484.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.1083, allocations: 11.98 kB / 484.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1083, allocations: 3.938 kB / 484.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1084, allocations: 7.984 kB / 484.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1085, allocations: 4 kB / 484.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.1085, allocations: 4 kB / 484.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1086, allocations: 115.9 kB / 484.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1086, allocations: 0 / 484.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.109, allocations: 31.89 kB / 484.3 MB, free: 7.816 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.0001077/0.1091, allocations: 95.31 kB / 484.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1094, allocations: 67.83 kB / 484.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1094, allocations: 0 / 484.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.1095, allocations: 23.98 kB / 484.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1098, allocations: 28.36 kB / 484.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.1105, allocations: 383.9 kB / 484.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1108, allocations: 0.7041 MB / 485.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1109, allocations: 16.48 kB / 485.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1109, allocations: 11.44 kB / 485.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1109, allocations: 0 / 485.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.004182/0.1151, allocations: 1.071 MB / 486.7 MB, free: 5.352 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: 5.089728842998738]