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.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.0012/0.0012, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001018/0.001018, allocations: 181.3 kB / 23.35 MB, free: 1.129 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.106/1.106, allocations: 158.6 MB / 185.2 MB, free: 2.77 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.04124/0.04124, allocations: 10.64 MB / 248.2 MB, free: 4.363 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_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: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 270.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.683e-05, allocations: 6.25 kB / 270.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.007979/0.008006, allocations: 1.818 MB / 272.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.008426, allocations: 179.3 kB / 272.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.00853, allocations: 3.938 kB / 272.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.008683, allocations: 27.73 kB / 272.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.008833, allocations: 23.8 kB / 272.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.137e-05/0.008924, allocations: 39.95 kB / 273 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.00909, allocations: 127.6 kB / 273.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.009228, allocations: 38.19 kB / 273.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.009326, allocations: 63.81 kB / 273.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.009417, allocations: 35.89 kB / 273.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.009444, allocations: 11.94 kB / 273.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.009458, allocations: 8 kB / 273.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.009489, allocations: 23.86 kB / 273.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.009525, allocations: 31.92 kB / 273.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.009666, allocations: 75.66 kB / 273.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.009669, allocations: 0 / 273.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00967, allocations: 0 / 273.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.009674, allocations: 4 kB / 273.4 MB, free: 11.13 MB / 266.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.0004175/0.01009, allocations: 328.5 kB / 273.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01012, allocations: 8.031 kB / 273.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.01017, allocations: 20.92 kB / 273.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.01036, allocations: 145.6 kB / 273.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01038, allocations: 8.562 kB / 273.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.0104, allocations: 12.31 kB / 273.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.01058, allocations: 127.6 kB / 274 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01059, allocations: 8 kB / 274 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.0106, allocations: 4 kB / 274 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.01061, allocations: 4 kB / 274 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.01066, allocations: 23.92 kB / 274.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.01424, allocations: 457.2 kB / 274.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.01441, allocations: 79.7 kB / 274.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.01445, allocations: 34.75 kB / 274.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.01447, allocations: 0 / 274.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.01449, allocations: 34.56 kB / 274.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.01449, allocations: 0 / 274.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001719/0.01466, allocations: 77.48 kB / 274.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.01472, allocations: 102.8 kB / 274.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.01484, allocations: 154.5 kB / 275 MB, free: 9.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01485, allocations: 29.7 kB / 275 MB, free: 9.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.01492, allocations: 111.9 kB / 275.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.01494, allocations: 35.98 kB / 275.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.01499, allocations: 25.7 kB / 275.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01509, allocations: 326.8 kB / 275.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.0151, allocations: 4 kB / 275.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.01517, allocations: 110.3 kB / 275.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.01525, allocations: 69 kB / 275.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01525, allocations: 4.031 kB / 275.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001048/0.01535, allocations: 81.53 kB / 275.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01537, allocations: 8 kB / 275.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01537, allocations: 320 / 275.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01539, allocations: 3.938 kB / 275.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.01548, allocations: 31.97 kB / 275.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01549, allocations: 3.938 kB / 275.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.01554, allocations: 16.11 kB / 275.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01554, allocations: 4 kB / 275.8 MB, free: 8.402 MB / 266.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.37e-05/0.01562, allocations: 113.8 kB / 275.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.01565, allocations: 12 kB / 276 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.01567, allocations: 16.45 kB / 276 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01567, allocations: 7.875 kB / 276 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01568, allocations: 0 / 276 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01568, allocations: 0 / 276 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.01582, allocations: 97.8 kB / 276.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01582, allocations: 0 / 276.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.01588, allocations: 19.92 kB / 276.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.01588, allocations: 4 kB / 276.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01589, allocations: 4 kB / 276.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01589, allocations: 0 / 276.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0159, allocations: 3.984 kB / 276.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.01605, allocations: 181.2 kB / 276.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.01606, allocations: 7.953 kB / 276.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.01608, allocations: 4 kB / 276.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.01614, allocations: 0 / 276.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01617, allocations: 19.86 kB / 276.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01618, allocations: 8.031 kB / 276.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.195e-05/0.01621, allocations: 33.62 kB / 276.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01621, allocations: 0 / 276.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.01642, allocations: 19.95 kB / 276.4 MB, free: 7.812 MB / 266.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 8.942e-05/0.01651, allocations: 72.42 kB / 276.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.01661, allocations: 40.78 kB / 276.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01661, allocations: 4 kB / 276.5 MB, free: 7.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.01664, allocations: 25.22 kB / 276.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.01988, allocations: 28.23 kB / 276.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.02033, allocations: 238.6 kB / 276.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.02038, allocations: 71.12 kB / 276.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.02043, allocations: 12.48 kB / 276.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.0205, allocations: 63.38 kB / 276.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02051, allocations: 0 / 276.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of Templates: time 0.00333/0.02384, allocations: 1.14 MB / 278.1 MB, free: 6.059 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.048728499095887]