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.001848/0.001848, allocations: 96.2 kB / 20.44 MB, free: 4.137 MB / 18.57 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.002485/0.002485, allocations: 169 kB / 23.81 MB, free: 0.7695 MB / 18.57 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.148/1.148, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.04375/0.04375, allocations: 10.65 MB / 248.7 MB, free: 4.465 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 320.2 MB, free: 39.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.376e-05, allocations: 2.312 kB / 320.2 MB, free: 39.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003478/0.003512, allocations: 1.834 MB / 322.1 MB, free: 37.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005487/0.00406, allocations: 163.5 kB / 322.2 MB, free: 37.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.004231, allocations: 7.938 kB / 322.2 MB, free: 37.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.004425, allocations: 27.73 kB / 322.3 MB, free: 37.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.004678, allocations: 19.8 kB / 322.3 MB, free: 37.53 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.004842, allocations: 51.89 kB / 322.3 MB, free: 37.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.005108, allocations: 123.6 kB / 322.5 MB, free: 37.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.005294, allocations: 38.84 kB / 322.5 MB, free: 37.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.005408, allocations: 67.81 kB / 322.6 MB, free: 37.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.005515, allocations: 31.91 kB / 322.6 MB, free: 37.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.005543, allocations: 8 kB / 322.6 MB, free: 37.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.00556, allocations: 8 kB / 322.6 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.005589, allocations: 27.84 kB / 322.6 MB, free: 37.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.005631, allocations: 27.92 kB / 322.7 MB, free: 37.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005813, allocations: 75.61 kB / 322.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.005817, allocations: 4 kB / 322.8 MB, free: 37.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005819, allocations: 0 / 322.8 MB, free: 37.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005825, allocations: 0 / 322.8 MB, free: 37.08 MB / 282.7 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.0005246/0.00635, allocations: 446.7 kB / 323.2 MB, free: 36.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.006398, allocations: 12.03 kB / 323.2 MB, free: 36.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.006467, allocations: 24.84 kB / 323.2 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.006699, allocations: 160.4 kB / 323.4 MB, free: 36.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.006726, allocations: 16.55 kB / 323.4 MB, free: 36.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.006763, allocations: 12.38 kB / 323.4 MB, free: 36.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.00702, allocations: 141.8 kB / 323.5 MB, free: 36.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.00703, allocations: 4 kB / 323.5 MB, free: 36.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.007044, allocations: 3.984 kB / 323.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.007055, allocations: 4 kB / 323.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.007148, allocations: 35.91 kB / 323.6 MB, free: 36.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.007792, allocations: 0.6635 MB / 324.3 MB, free: 35.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.008022, allocations: 117.4 kB / 324.4 MB, free: 35.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.008082, allocations: 43.05 kB / 324.4 MB, free: 35.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.008106, allocations: 4 kB / 324.4 MB, free: 35.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.008126, allocations: 37.33 kB / 324.5 MB, free: 35.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.008127, allocations: 0 / 324.5 MB, free: 35.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002421/0.008369, allocations: 81.56 kB / 324.5 MB, free: 35.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.008402, allocations: 114.8 kB / 324.6 MB, free: 34.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008516, allocations: 206.1 kB / 324.8 MB, free: 34.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008528, allocations: 37.64 kB / 324.9 MB, free: 34.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.008587, allocations: 162.7 kB / 325 MB, free: 34.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.008608, allocations: 27.75 kB / 325.1 MB, free: 34.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.008656, allocations: 35.36 kB / 325.1 MB, free: 34.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.008719, allocations: 0.4923 MB / 325.6 MB, free: 33.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.008756, allocations: 4 kB / 325.6 MB, free: 33.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.008827, allocations: 100.2 kB / 325.7 MB, free: 33.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.008932, allocations: 86.08 kB / 325.8 MB, free: 33.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.008935, allocations: 0 / 325.8 MB, free: 33.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001645/0.0091, allocations: 97.77 kB / 325.9 MB, free: 33.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.00912, allocations: 9.656 kB / 325.9 MB, free: 33.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.009127, allocations: 4 kB / 325.9 MB, free: 33.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.009148, allocations: 0 / 325.9 MB, free: 33.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.009285, allocations: 36.12 kB / 325.9 MB, free: 33.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.009293, allocations: 0 / 325.9 MB, free: 33.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.009355, allocations: 15.95 kB / 325.9 MB, free: 33.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.009368, allocations: 4 kB / 325.9 MB, free: 33.54 MB / 282.7 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 7.973e-05/0.009447, allocations: 160.5 kB / 326.1 MB, free: 33.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.009486, allocations: 15.89 kB / 326.1 MB, free: 33.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.009528, allocations: 20.45 kB / 326.1 MB, free: 33.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.009531, allocations: 0 / 326.1 MB, free: 33.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.009537, allocations: 4 kB / 326.1 MB, free: 33.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009541, allocations: 0 / 326.1 MB, free: 33.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.009706, allocations: 148.5 kB / 326.3 MB, free: 33.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.00971, allocations: 4 kB / 326.3 MB, free: 33.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.00981, allocations: 11.98 kB / 326.3 MB, free: 33.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.009815, allocations: 4 kB / 326.3 MB, free: 33.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.009827, allocations: 3.938 kB / 326.3 MB, free: 33.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.00983, allocations: 0 / 326.3 MB, free: 33.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.009833, allocations: 7.938 kB / 326.3 MB, free: 33.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.01058, allocations: 1.551 MB / 327.9 MB, free: 31.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.01059, allocations: 7.953 kB / 327.9 MB, free: 31.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.01059, allocations: 0 / 327.9 MB, free: 31.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.01064, allocations: 4 kB / 327.9 MB, free: 31.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.01069, allocations: 11.98 kB / 327.9 MB, free: 31.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.01069, allocations: 4 kB / 327.9 MB, free: 31.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.01074, allocations: 158.6 kB / 328.1 MB, free: 31.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01074, allocations: 0 / 328.1 MB, free: 31.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01096, allocations: 27.83 kB / 328.1 MB, free: 31.23 MB / 282.7 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 7.721e-05/0.01104, allocations: 91.28 kB / 328.2 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01116, allocations: 64.61 kB / 328.2 MB, free: 31.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01116, allocations: 4 kB / 328.2 MB, free: 31.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.01119, allocations: 15.69 kB / 328.2 MB, free: 31.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01145, allocations: 33.23 kB / 328.3 MB, free: 31.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.01191, allocations: 420.2 kB / 328.7 MB, free: 30.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.01194, allocations: 68.03 kB / 328.8 MB, free: 30.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01198, allocations: 8.484 kB / 328.8 MB, free: 30.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.01202, allocations: 16.5 kB / 328.8 MB, free: 30.44 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01202, allocations: 0 / 328.8 MB, free: 30.44 MB / 282.7 MB Notification: Performance of Templates: time 0.003078/0.0151, allocations: 1.11 MB / 329.9 MB, free: 29.35 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.379352416843176]