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.002264/0.002264, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.002752/0.002752, allocations: 161.8 kB / 23.77 MB, free: 4.191 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.397/1.397, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] 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.08247/0.08247, allocations: 10.65 MB / 248.4 MB, free: 8.477 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 71.17 kB / 372.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1219, allocations: 52.88 MB / 425 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003192/0.125, allocations: 1.775 MB / 426.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.1255, allocations: 167.5 kB / 426.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.1256, allocations: 11.94 kB / 426.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1257, allocations: 23.67 kB / 427 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1258, allocations: 23.8 kB / 427 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.126, allocations: 39.95 kB / 427 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1261, allocations: 131.6 kB / 427.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1263, allocations: 37.52 kB / 427.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1264, allocations: 51.78 kB / 427.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1265, allocations: 39.72 kB / 427.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1265, allocations: 12 kB / 427.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.1265, allocations: 8 kB / 427.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.1265, allocations: 19.92 kB / 427.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1266, allocations: 47.72 kB / 427.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1268, allocations: 107.4 kB / 427.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1268, allocations: 4 kB / 427.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1268, allocations: 0 / 427.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1268, allocations: 0 / 427.5 MB, free: 2.891 MB / 350.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.0005639/0.1274, allocations: 345.9 kB / 427.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1274, allocations: 16.03 kB / 427.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1274, allocations: 12.84 kB / 427.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1277, allocations: 158.3 kB / 428 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1277, allocations: 4.562 kB / 428 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1278, allocations: 12.38 kB / 428 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.128, allocations: 138.1 kB / 428.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.128, allocations: 0 / 428.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1281, allocations: 8 kB / 428.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1281, allocations: 4 kB / 428.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.1283, allocations: 67.89 kB / 428.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.1289, allocations: 0.5209 MB / 428.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1292, allocations: 107.8 kB / 428.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1293, allocations: 42.69 kB / 428.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1294, allocations: 4 kB / 428.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1294, allocations: 38.55 kB / 428.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1294, allocations: 0 / 428.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003802/0.1298, allocations: 113.5 kB / 429 MB, free: 1.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.1298, allocations: 106.8 kB / 429.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.13, allocations: 146.5 kB / 429.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.13, allocations: 33.7 kB / 429.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.1301, allocations: 115.9 kB / 429.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1301, allocations: 35.98 kB / 429.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1302, allocations: 21.72 kB / 429.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1303, allocations: 322.8 kB / 429.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.1304, allocations: 27.92 kB / 429.8 MB, free: 292 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1305, allocations: 95.69 kB / 429.9 MB, free: 168 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1307, allocations: 101.2 kB / 430 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1307, allocations: 0 / 430 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002992/0.131, allocations: 129.4 kB / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1311, allocations: 4 kB / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1311, allocations: 4 kB / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1311, allocations: 0 / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1312, allocations: 28.14 kB / 430.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1312, allocations: 4 kB / 430.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.1313, allocations: 11.89 kB / 430.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1313, allocations: 11.98 kB / 430.2 MB, free: 15.85 MB / 366.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.0001089/0.1314, allocations: 129.7 kB / 430.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1315, allocations: 7.953 kB / 430.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.1315, allocations: 12.47 kB / 430.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1315, allocations: 0 / 430.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1315, allocations: 0 / 430.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1315, allocations: 7.984 kB / 430.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1317, allocations: 137.3 kB / 430.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1317, allocations: 11.92 kB / 430.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1318, allocations: 15.98 kB / 430.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1318, allocations: 0 / 430.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1318, allocations: 0 / 430.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1318, allocations: 4 kB / 430.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1318, allocations: 3.938 kB / 430.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1333, allocations: 1.242 MB / 431.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.1333, allocations: 11.95 kB / 431.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1333, allocations: 0 / 431.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.1334, allocations: 7.984 kB / 431.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1335, allocations: 11.94 kB / 431.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1335, allocations: 3.984 kB / 431.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.1336, allocations: 108.2 kB / 431.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1336, allocations: 7.938 kB / 431.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1339, allocations: 27.89 kB / 432 MB, free: 13.96 MB / 366.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 0.0001029/0.134, allocations: 95.25 kB / 432.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1343, allocations: 67.83 kB / 432.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1343, allocations: 0 / 432.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.394e-05/0.1344, allocations: 28.42 kB / 432.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1347, allocations: 35.36 kB / 432.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.1354, allocations: 387.9 kB / 432.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.1355, allocations: 89.31 kB / 432.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.1356, allocations: 12.48 kB / 432.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1356, allocations: 12.5 kB / 432.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1356, allocations: 4 kB / 432.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004032/0.1396, allocations: 1.096 MB / 433.8 MB, free: 12.09 MB / 366.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/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.799474853090942]