Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001272/0.001272, allocations: 114.9 kB / 17.13 MB, free: 6.047 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.001335/0.001335, allocations: 197.2 kB / 20.08 MB, free: 3.109 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.386/1.386, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 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.06969/0.06969, allocations: 14.41 MB / 296.7 MB, free: 1.891 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_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_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.002206/0.002206, allocations: 67.89 kB / 418.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2178, allocations: 52.87 MB / 471.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.00332/0.2211, allocations: 1.827 MB / 473.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.2216, allocations: 171.5 kB / 473.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2217, allocations: 2.719 kB / 473.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2218, allocations: 25.3 kB / 473.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.222, allocations: 31 kB / 473.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.2221, allocations: 38.05 kB / 473.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.2223, allocations: 125 kB / 473.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2224, allocations: 41.89 kB / 473.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.2225, allocations: 44.97 kB / 473.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2226, allocations: 50.02 kB / 473.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.2226, allocations: 7.719 kB / 473.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.2226, allocations: 8.719 kB / 473.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.2227, allocations: 23.3 kB / 473.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.2227, allocations: 58.02 kB / 474 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.2229, allocations: 106.3 kB / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2229, allocations: 1.125 kB / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2229, allocations: 0 / 474.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2229, allocations: 0 / 474.1 MB, free: 10.94 MB / 334.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.0005896/0.2235, allocations: 429.5 kB / 474.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2235, allocations: 9.656 kB / 474.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.2236, allocations: 17.91 kB / 474.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2239, allocations: 216.2 kB / 474.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2239, allocations: 8.562 kB / 474.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.224, allocations: 12.38 kB / 474.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.2242, allocations: 134.2 kB / 474.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2242, allocations: 4 kB / 474.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2243, allocations: 11.94 kB / 474.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2243, allocations: 3.938 kB / 474.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2245, allocations: 59.91 kB / 475 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.2252, allocations: 0.6147 MB / 475.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2255, allocations: 99.83 kB / 475.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.2257, allocations: 46.75 kB / 475.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2257, allocations: 0 / 475.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2257, allocations: 38.56 kB / 475.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2257, allocations: 0 / 475.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004092/0.2261, allocations: 125.8 kB / 475.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.2262, allocations: 102.8 kB / 476 MB, free: 8.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2263, allocations: 150.5 kB / 476.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.2264, allocations: 25.7 kB / 476.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.2264, allocations: 115.9 kB / 476.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.2265, allocations: 27.75 kB / 476.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.2265, allocations: 29.7 kB / 476.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2267, allocations: 327 kB / 476.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.2268, allocations: 19.98 kB / 476.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2269, allocations: 66 kB / 476.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.2271, allocations: 109 kB / 476.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2271, allocations: 0 / 476.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002805/0.2274, allocations: 121.5 kB / 477 MB, free: 7.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2274, allocations: 8 kB / 477 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2274, allocations: 0 / 477 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2275, allocations: 0 / 477 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2276, allocations: 27.97 kB / 477 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2276, allocations: 7.938 kB / 477 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.2277, allocations: 7.953 kB / 477 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2277, allocations: 7.938 kB / 477 MB, free: 7.719 MB / 334.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.0001096/0.2278, allocations: 129.9 kB / 477.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2279, allocations: 11.94 kB / 477.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.2279, allocations: 16.31 kB / 477.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2279, allocations: 0 / 477.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2279, allocations: 0 / 477.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2279, allocations: 4 kB / 477.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2282, allocations: 205.5 kB / 477.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2282, allocations: 4 kB / 477.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2283, allocations: 19.98 kB / 477.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2283, allocations: 4 kB / 477.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2283, allocations: 3.984 kB / 477.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.2283, allocations: 8.062 kB / 477.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2283, allocations: 4 kB / 477.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.2287, allocations: 229.1 kB / 477.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.2288, allocations: 93.02 kB / 477.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2288, allocations: 0 / 477.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.2289, allocations: 4 kB / 477.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.229, allocations: 11.98 kB / 477.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.229, allocations: 0 / 477.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.2291, allocations: 119.9 kB / 477.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2291, allocations: 0 / 477.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2293, allocations: 19.95 kB / 477.9 MB, free: 6.75 MB / 334.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.258e-05/0.2294, allocations: 103.2 kB / 478 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.2297, allocations: 63.84 kB / 478 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2297, allocations: 0 / 478 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2298, allocations: 35.91 kB / 478.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2301, allocations: 24.36 kB / 478.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.2307, allocations: 270.8 kB / 478.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.231, allocations: 0.7086 MB / 479.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.231, allocations: 19.38 kB / 479.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.231, allocations: 4 kB / 479.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of Templates: time 0.003238/0.2343, allocations: 1.42 MB / 480.5 MB, free: 4.039 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_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: 6.656806292012334]