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.001963/0.001963, allocations: 104.3 kB / 20.49 MB, free: 1.316 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.002477/0.002477, allocations: 220.7 kB / 23.8 MB, free: 4.453 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.475/1.475, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.07864/0.07864, allocations: 14.39 MB / 301.3 MB, free: 7.23 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.002482/0.002482, allocations: 75.88 kB / 425 MB, free: 36.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1039, allocations: 52.89 MB / 477.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003871/0.1078, allocations: 1.768 MB / 479.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.1084, allocations: 171.5 kB / 479.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1086, allocations: 11.94 kB / 479.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.1088, allocations: 23.73 kB / 479.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1091, allocations: 23.8 kB / 479.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1092, allocations: 39.95 kB / 480 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1095, allocations: 127.6 kB / 480.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1097, allocations: 41.44 kB / 480.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.1098, allocations: 51.78 kB / 480.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1099, allocations: 39.78 kB / 480.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1099, allocations: 12 kB / 480.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.1099, allocations: 8 kB / 480.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.11, allocations: 19.88 kB / 480.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1101, allocations: 43.73 kB / 480.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1103, allocations: 103.5 kB / 480.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1103, allocations: 0 / 480.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1103, allocations: 0 / 480.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1103, allocations: 4 kB / 480.4 MB, free: 12.74 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.0007393/0.1111, allocations: 345.9 kB / 480.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1111, allocations: 16.03 kB / 480.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.1112, allocations: 16.78 kB / 480.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1116, allocations: 162.3 kB / 480.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1116, allocations: 8.562 kB / 481 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.1117, allocations: 12.38 kB / 481 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.112, allocations: 134.2 kB / 481.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.112, allocations: 0 / 481.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.112, allocations: 8 kB / 481.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.112, allocations: 4 kB / 481.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.1123, allocations: 63.89 kB / 481.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.1131, allocations: 0.5208 MB / 481.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1135, allocations: 103.7 kB / 481.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1136, allocations: 46.8 kB / 481.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1136, allocations: 4 kB / 481.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1137, allocations: 38.56 kB / 481.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.1137, allocations: 0 / 481.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004654/0.1141, allocations: 117.5 kB / 482 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.1142, allocations: 106.8 kB / 482.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1144, allocations: 147.1 kB / 482.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1145, allocations: 33.7 kB / 482.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1146, allocations: 123.8 kB / 482.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1146, allocations: 24.06 kB / 482.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.1147, allocations: 29.7 kB / 482.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1149, allocations: 322.8 kB / 482.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.115, allocations: 19.98 kB / 482.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1151, allocations: 99.69 kB / 482.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.1154, allocations: 97.3 kB / 483 MB, free: 9.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1154, allocations: 0 / 483 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.1158, allocations: 125.4 kB / 483.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1158, allocations: 7.938 kB / 483.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1158, allocations: 4 kB / 483.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1158, allocations: 0 / 483.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.116, allocations: 32.12 kB / 483.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.116, allocations: 3.938 kB / 483.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1161, allocations: 15.89 kB / 483.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1161, allocations: 4 kB / 483.2 MB, free: 9.703 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.000153/0.1163, allocations: 121.8 kB / 483.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1163, allocations: 15.94 kB / 483.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.1164, allocations: 12.41 kB / 483.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1164, allocations: 4 kB / 483.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1164, allocations: 0 / 483.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1164, allocations: 4 kB / 483.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1167, allocations: 137.3 kB / 483.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1167, allocations: 3.938 kB / 483.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1168, allocations: 27.92 kB / 483.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1168, allocations: 0 / 483.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1168, allocations: 0 / 483.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1168, allocations: 7.938 kB / 483.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1168, allocations: 0 / 483.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.1187, allocations: 1.238 MB / 484.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.1187, allocations: 7.984 kB / 484.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1188, allocations: 8 kB / 484.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1189, allocations: 4 kB / 484.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.1189, allocations: 7.922 kB / 484.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1189, allocations: 4 kB / 484.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1191, allocations: 120 kB / 484.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 4 kB / 484.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.1195, allocations: 27.89 kB / 484.9 MB, free: 7.805 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.0001346/0.1196, allocations: 95.28 kB / 485 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.1199, allocations: 71.83 kB / 485.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1199, allocations: 0 / 485.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.12, allocations: 24.42 kB / 485.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1204, allocations: 27.98 kB / 485.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.1213, allocations: 372 kB / 485.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.1214, allocations: 93.17 kB / 485.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1215, allocations: 20.42 kB / 485.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1215, allocations: 15.44 kB / 485.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1215, allocations: 0 / 485.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Templates: time 0.00497/0.1265, allocations: 1.164 MB / 486.8 MB, free: 5.875 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/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.919800706964452]