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.001003/0.001003, allocations: 88.22 kB / 20.95 MB, free: 3.602 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.0009978/0.0009978, allocations: 169.3 kB / 24.26 MB, free: 300 kB / 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.813/0.813, allocations: 158.6 MB / 186.1 MB, free: 2.93 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.0396/0.0396, allocations: 10.65 MB / 249 MB, free: 4.531 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.533e-06/1.533e-06, allocations: 0 / 320.2 MB, free: 39.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.488e-05, allocations: 3.078 kB / 320.2 MB, free: 39.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002008/0.002033, allocations: 1.833 MB / 322 MB, free: 38.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.002328, allocations: 167.4 kB / 322.2 MB, free: 37.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.002431, allocations: 7.938 kB / 322.2 MB, free: 37.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.002566, allocations: 23.78 kB / 322.2 MB, free: 37.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.002702, allocations: 27.73 kB / 322.3 MB, free: 37.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.967e-05/0.002772, allocations: 43.95 kB / 322.3 MB, free: 37.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.002892, allocations: 123.6 kB / 322.4 MB, free: 37.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003007, allocations: 38.83 kB / 322.5 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.003071, allocations: 67.83 kB / 322.5 MB, free: 37.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.003145, allocations: 31.89 kB / 322.6 MB, free: 37.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.003167, allocations: 8 kB / 322.6 MB, free: 37.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.003179, allocations: 12 kB / 322.6 MB, free: 37.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.003198, allocations: 15.92 kB / 322.6 MB, free: 37.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.003228, allocations: 39.78 kB / 322.6 MB, free: 37.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003343, allocations: 71.69 kB / 322.7 MB, free: 37.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003345, allocations: 4 kB / 322.7 MB, free: 37.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003345, allocations: 0 / 322.7 MB, free: 37.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.00335, allocations: 0 / 322.7 MB, free: 37.45 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.0003758/0.003725, allocations: 450.6 kB / 323.1 MB, free: 36.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003758, allocations: 8.031 kB / 323.1 MB, free: 36.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.003805, allocations: 20.84 kB / 323.2 MB, free: 36.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.003967, allocations: 168.4 kB / 323.3 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.003987, allocations: 8.562 kB / 323.3 MB, free: 36.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.004011, allocations: 8.375 kB / 323.4 MB, free: 36.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004171, allocations: 145.8 kB / 323.5 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004178, allocations: 0 / 323.5 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004189, allocations: 4 kB / 323.5 MB, free: 36.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.004197, allocations: 4 kB / 323.5 MB, free: 36.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.004254, allocations: 35.91 kB / 323.5 MB, free: 36.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.004667, allocations: 0.6751 MB / 324.2 MB, free: 35.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.00482, allocations: 109.4 kB / 324.3 MB, free: 35.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.004855, allocations: 43.17 kB / 324.4 MB, free: 35.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.004869, allocations: 0 / 324.4 MB, free: 35.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.004886, allocations: 45.33 kB / 324.4 MB, free: 35.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004887, allocations: 0 / 324.4 MB, free: 35.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001696/0.005057, allocations: 85.5 kB / 324.5 MB, free: 35.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.00508, allocations: 102.8 kB / 324.6 MB, free: 35.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.005171, allocations: 210.1 kB / 324.8 MB, free: 35.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.005179, allocations: 33.7 kB / 324.8 MB, free: 35.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.005223, allocations: 166.7 kB / 325 MB, free: 34.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.005238, allocations: 31.73 kB / 325 MB, free: 34.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.005267, allocations: 31.31 kB / 325.1 MB, free: 34.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.005314, allocations: 0.4884 MB / 325.5 MB, free: 34.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.005336, allocations: 12 kB / 325.6 MB, free: 34.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.005376, allocations: 104.5 kB / 325.7 MB, free: 34.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.005433, allocations: 86.08 kB / 325.7 MB, free: 34.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005435, allocations: 0 / 325.7 MB, free: 34.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.22e-05/0.005527, allocations: 97.83 kB / 325.8 MB, free: 33.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00554, allocations: 9.812 kB / 325.8 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005545, allocations: 3.984 kB / 325.8 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.005559, allocations: 4 kB / 325.9 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.005641, allocations: 28.08 kB / 325.9 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005646, allocations: 4 kB / 325.9 MB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.005679, allocations: 7.953 kB / 325.9 MB, free: 33.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.005687, allocations: 9.016 kB / 325.9 MB, free: 33.91 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 4.867e-05/0.005736, allocations: 160.6 kB / 326.1 MB, free: 33.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.005754, allocations: 15.89 kB / 326.1 MB, free: 33.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.005776, allocations: 12.45 kB / 326.1 MB, free: 33.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005778, allocations: 4 kB / 326.1 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.005782, allocations: 0 / 326.1 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005785, allocations: 0 / 326.1 MB, free: 33.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.184e-05/0.005877, allocations: 152.5 kB / 326.2 MB, free: 33.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005878, allocations: 4 kB / 326.2 MB, free: 33.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.005927, allocations: 23.92 kB / 326.3 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005928, allocations: 0 / 326.3 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.005937, allocations: 7.938 kB / 326.3 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005938, allocations: 0 / 326.3 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.005939, allocations: 3.984 kB / 326.3 MB, free: 33.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.006538, allocations: 1.539 MB / 327.8 MB, free: 31.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006546, allocations: 11.95 kB / 327.8 MB, free: 31.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.006553, allocations: 0 / 327.8 MB, free: 31.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.006597, allocations: 11.94 kB / 327.8 MB, free: 31.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.006632, allocations: 7.984 kB / 327.8 MB, free: 31.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006636, allocations: 4 kB / 327.8 MB, free: 31.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.00667, allocations: 150.6 kB / 328 MB, free: 31.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00667, allocations: 0 / 328 MB, free: 31.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.006878, allocations: 35.83 kB / 328 MB, free: 31.61 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 5.631e-05/0.006935, allocations: 95.19 kB / 328.1 MB, free: 31.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.007035, allocations: 63.59 kB / 328.2 MB, free: 31.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007036, allocations: 0 / 328.2 MB, free: 31.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.007061, allocations: 23.62 kB / 328.2 MB, free: 31.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.007281, allocations: 29.89 kB / 328.2 MB, free: 31.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.007636, allocations: 416.2 kB / 328.6 MB, free: 30.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.00767, allocations: 68.03 kB / 328.7 MB, free: 30.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.007704, allocations: 12.48 kB / 328.7 MB, free: 30.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.007732, allocations: 12.5 kB / 328.7 MB, free: 30.81 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007733, allocations: 4 kB / 328.7 MB, free: 30.81 MB / 282.7 MB Notification: Performance of Templates: time 0.002738/0.01047, allocations: 1.107 MB / 329.8 MB, free: 29.72 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: 2.677496307063848]