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.001436/0.001436, allocations: 101 kB / 20.48 MB, free: 1.488 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.001682/0.001682, allocations: 219.8 kB / 23.8 MB, free: 4.699 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.562/1.562, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.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.07108/0.07108, allocations: 14.4 MB / 301.2 MB, free: 7.453 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.002187/0.002187, allocations: 75.89 kB / 425 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1045, allocations: 52.9 MB / 477.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003527/0.1081, allocations: 1.833 MB / 479.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004238/0.1085, allocations: 179.4 kB / 479.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1086, allocations: 3.938 kB / 479.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1087, allocations: 31.67 kB / 480 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1089, allocations: 27.78 kB / 480 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.109, allocations: 43.95 kB / 480 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1092, allocations: 119.6 kB / 480.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1094, allocations: 49.44 kB / 480.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.1094, allocations: 47.84 kB / 480.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1095, allocations: 47.72 kB / 480.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1096, allocations: 8 kB / 480.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.1096, allocations: 8 kB / 480.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1096, allocations: 23.86 kB / 480.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1097, allocations: 55.67 kB / 480.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1099, allocations: 107.5 kB / 480.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1099, allocations: 0 / 480.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1099, allocations: 0 / 480.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1099, allocations: 0 / 480.5 MB, free: 12.87 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.0005773/0.1104, allocations: 349.9 kB / 480.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1105, allocations: 8.031 kB / 480.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1105, allocations: 16.84 kB / 480.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1108, allocations: 154.3 kB / 481 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1108, allocations: 8.562 kB / 481 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.1109, allocations: 16.36 kB / 481 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1111, allocations: 130.2 kB / 481.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1111, allocations: 7.938 kB / 481.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1112, allocations: 4 kB / 481.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1112, allocations: 4 kB / 481.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1114, allocations: 63.84 kB / 481.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.1121, allocations: 0.5787 MB / 481.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1124, allocations: 99.83 kB / 481.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1125, allocations: 46.75 kB / 482 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1125, allocations: 0 / 482 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1126, allocations: 38.5 kB / 482 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1126, allocations: 0 / 482 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.113, allocations: 117.7 kB / 482.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1131, allocations: 106.8 kB / 482.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1132, allocations: 147.1 kB / 482.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1132, allocations: 33.7 kB / 482.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1133, allocations: 119.9 kB / 482.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1134, allocations: 23.8 kB / 482.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.1134, allocations: 25.72 kB / 482.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1136, allocations: 326.9 kB / 482.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.1137, allocations: 23.98 kB / 482.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1138, allocations: 73.91 kB / 483 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.114, allocations: 97.3 kB / 483.1 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.114, allocations: 0 / 483.1 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000272/0.1143, allocations: 125.5 kB / 483.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1143, allocations: 4 kB / 483.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1143, allocations: 4 kB / 483.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1143, allocations: 0 / 483.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1145, allocations: 27.97 kB / 483.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1145, allocations: 7.938 kB / 483.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.1145, allocations: 15.83 kB / 483.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1146, allocations: 4 kB / 483.3 MB, free: 9.809 MB / 350.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.0001154/0.1147, allocations: 125.9 kB / 483.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1147, allocations: 15.94 kB / 483.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.1147, allocations: 16.41 kB / 483.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1147, allocations: 3.984 kB / 483.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1147, allocations: 0 / 483.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1147, allocations: 0 / 483.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.115, allocations: 176.6 kB / 483.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.115, allocations: 0 / 483.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1151, allocations: 23.92 kB / 483.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1151, allocations: 4 kB / 483.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1151, allocations: 3.984 kB / 483.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1151, allocations: 4 kB / 483.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1151, allocations: 0 / 483.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.1167, allocations: 1.265 MB / 484.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.1167, allocations: 16.08 kB / 484.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1168, allocations: 3.938 kB / 484.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.1169, allocations: 7.938 kB / 484.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1169, allocations: 7.984 kB / 484.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1169, allocations: 0 / 484.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.946e-05/0.117, allocations: 119.9 kB / 485 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.117, allocations: 0 / 485 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.1173, allocations: 27.89 kB / 485.1 MB, free: 7.82 MB / 350.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.714e-05/0.1174, allocations: 99.25 kB / 485.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1177, allocations: 67.91 kB / 485.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1177, allocations: 0 / 485.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1178, allocations: 27.92 kB / 485.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1181, allocations: 25.77 kB / 485.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.1187, allocations: 376.4 kB / 485.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1191, allocations: 0.7119 MB / 486.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.1192, allocations: 12.48 kB / 486.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.1192, allocations: 15.44 kB / 486.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1192, allocations: 0 / 486.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.003989/0.1232, allocations: 1.073 MB / 487.5 MB, free: 5.352 MB / 350.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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] 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.872021646995563]