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.0007927/0.0007927, allocations: 84.44 kB / 20.7 MB, free: 3.863 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.0007865/0.0007865, allocations: 173.9 kB / 23.97 MB, free: 0.5898 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 0.7954/0.7954, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.03655/0.03655, allocations: 10.65 MB / 248.6 MB, free: 4.809 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.403e-06/1.403e-06, allocations: 0 / 372.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.022e-05, allocations: 6.281 kB / 372.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001923/0.001943, allocations: 1.762 MB / 374.2 MB, free: 1.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.002247, allocations: 171.4 kB / 374.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.00233, allocations: 11.94 kB / 374.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.002444, allocations: 15.8 kB / 374.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.002571, allocations: 31.72 kB / 374.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.243e-05/0.002643, allocations: 43.95 kB / 374.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.002767, allocations: 127.6 kB / 374.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.002879, allocations: 37.5 kB / 374.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.002948, allocations: 71.81 kB / 374.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.003019, allocations: 27.91 kB / 374.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.003041, allocations: 12 kB / 374.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.003052, allocations: 8 kB / 374.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.003073, allocations: 23.91 kB / 374.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.003101, allocations: 31.86 kB / 374.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003225, allocations: 107.6 kB / 374.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003227, allocations: 0 / 374.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003227, allocations: 0 / 374.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003231, allocations: 0 / 374.9 MB, free: 1.062 MB / 298.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.0003759/0.003607, allocations: 353.9 kB / 375.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.003635, allocations: 12.03 kB / 375.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.003669, allocations: 16.84 kB / 375.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.003862, allocations: 149.6 kB / 375.5 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.003874, allocations: 12.5 kB / 375.5 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.003897, allocations: 12.38 kB / 375.5 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.004069, allocations: 131 kB / 375.6 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004077, allocations: 4 kB / 375.6 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.004088, allocations: 4 kB / 375.6 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004093, allocations: 8 kB / 375.6 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.004199, allocations: 63.88 kB / 375.7 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.004638, allocations: 0.5209 MB / 376.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.004819, allocations: 112 kB / 376.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.004872, allocations: 38.62 kB / 376.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.004885, allocations: 8 kB / 376.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.004903, allocations: 38.44 kB / 376.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004904, allocations: 3.938 kB / 376.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002198/0.005124, allocations: 117.7 kB / 376.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.005162, allocations: 106.8 kB / 376.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.00525, allocations: 154.4 kB / 376.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.005262, allocations: 25.7 kB / 376.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.005316, allocations: 116.2 kB / 376.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.005332, allocations: 35.73 kB / 377 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.005365, allocations: 29.64 kB / 377 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.00544, allocations: 326.8 kB / 377.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.005483, allocations: 19.98 kB / 377.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.005552, allocations: 99.7 kB / 377.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.005657, allocations: 93.09 kB / 377.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005659, allocations: 4 kB / 377.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001382/0.005798, allocations: 117.5 kB / 377.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.00581, allocations: 10.59 kB / 377.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005815, allocations: 4 kB / 377.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.005826, allocations: 0 / 377.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.005897, allocations: 28.14 kB / 377.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.005905, allocations: 11.92 kB / 377.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.005946, allocations: 15.89 kB / 377.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.005954, allocations: 4 kB / 377.7 MB, free: 14.02 MB / 314.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 6.456e-05/0.006018, allocations: 123.8 kB / 377.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.006036, allocations: 11.89 kB / 377.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.006056, allocations: 16.45 kB / 377.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006058, allocations: 0 / 377.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006062, allocations: 0 / 377.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006065, allocations: 8 kB / 377.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006175, allocations: 133.3 kB / 378 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006176, allocations: 4 kB / 378 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.006228, allocations: 15.98 kB / 378 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006229, allocations: 3.938 kB / 378 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.006239, allocations: 11.92 kB / 378 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00624, allocations: 0 / 378 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00624, allocations: 0 / 378 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.007047, allocations: 1.25 MB / 379.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007057, allocations: 11.94 kB / 379.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-06/0.007064, allocations: 0 / 379.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.00711, allocations: 7.938 kB / 379.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.007143, allocations: 11.98 kB / 379.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.007147, allocations: 0 / 379.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.007198, allocations: 119.3 kB / 379.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007198, allocations: 3.938 kB / 379.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.007417, allocations: 27.89 kB / 379.5 MB, free: 12.12 MB / 314.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 5.926e-05/0.007476, allocations: 95.19 kB / 379.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.007608, allocations: 63.84 kB / 379.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.00761, allocations: 4 kB / 379.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.007693, allocations: 36.34 kB / 379.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.007896, allocations: 38.27 kB / 379.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.00828, allocations: 380 kB / 380.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.008334, allocations: 97.84 kB / 380.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.008362, allocations: 16.5 kB / 380.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 3.7e-07/0.008363, allocations: 4 kB / 380.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Templates: time 0.001938/0.0103, allocations: 1.463 MB / 381.6 MB, free: 9.863 MB / 314.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/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.033299899660051]