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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 104.7 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 192.2 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06673/0.06673, allocations: 14.17 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 67.52 kB / 399.3 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1177, allocations: 50.14 MB / 449.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.004056/0.1218, allocations: 1.831 MB / 451.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005563/0.1224, allocations: 167.4 kB / 451.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1226, allocations: 3.938 kB / 451.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1228, allocations: 23.8 kB / 451.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1231, allocations: 27.73 kB / 451.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.1232, allocations: 43.89 kB / 451.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.1235, allocations: 127.7 kB / 451.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1237, allocations: 49.31 kB / 451.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1239, allocations: 43.84 kB / 451.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.124, allocations: 55.66 kB / 451.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1241, allocations: 8 kB / 451.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.1241, allocations: 8 kB / 451.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.1241, allocations: 19.92 kB / 451.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.1242, allocations: 51.66 kB / 451.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1245, allocations: 111.6 kB / 452 MB, free: 8.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1245, allocations: 0 / 452 MB, free: 8.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1245, allocations: 0 / 452 MB, free: 8.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1245, allocations: 0 / 452 MB, free: 8.992 MB / 334.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.0007798/0.1253, allocations: 423.2 kB / 452.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.1253, allocations: 8.031 kB / 452.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.1254, allocations: 12.84 kB / 452.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1259, allocations: 216 kB / 452.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1259, allocations: 8.562 kB / 452.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1259, allocations: 16.36 kB / 452.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.1263, allocations: 136.3 kB / 452.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1263, allocations: 3.938 kB / 452.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1263, allocations: 4 kB / 452.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1263, allocations: 0 / 452.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1266, allocations: 63.91 kB / 452.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1277, allocations: 0.6068 MB / 453.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.128, allocations: 107.8 kB / 453.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.1282, allocations: 42.81 kB / 453.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1282, allocations: 4 kB / 453.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.1283, allocations: 42.5 kB / 453.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1283, allocations: 0 / 453.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004519/0.1287, allocations: 117.6 kB / 453.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.1288, allocations: 106.8 kB / 453.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.129, allocations: 155 kB / 454 MB, free: 6.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.129, allocations: 25.7 kB / 454 MB, free: 6.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1291, allocations: 124 kB / 454.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1292, allocations: 27.64 kB / 454.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1292, allocations: 29.7 kB / 454.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1294, allocations: 318.8 kB / 454.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.1295, allocations: 27.92 kB / 454.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1297, allocations: 66 kB / 454.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1299, allocations: 97.03 kB / 454.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1299, allocations: 4 kB / 454.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003193/0.1302, allocations: 117.4 kB / 454.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1303, allocations: 4 kB / 454.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1303, allocations: 4 kB / 454.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1303, allocations: 0 / 454.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1305, allocations: 36.06 kB / 454.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1305, allocations: 7.984 kB / 454.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.1306, allocations: 11.91 kB / 454.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1306, allocations: 4 kB / 454.9 MB, free: 5.73 MB / 334.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.0001475/0.1308, allocations: 125.7 kB / 455 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1308, allocations: 11.91 kB / 455 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1309, allocations: 16.3 kB / 455 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1309, allocations: 7.938 kB / 455 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1309, allocations: 3.984 kB / 455 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1309, allocations: 4 kB / 455 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1312, allocations: 205.5 kB / 455.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1312, allocations: 0 / 455.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1313, allocations: 24.23 kB / 455.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.1313, allocations: 4 kB / 455.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1313, allocations: 0 / 455.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.1314, allocations: 7.984 kB / 455.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1314, allocations: 4 kB / 455.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.1329, allocations: 1.36 MB / 456.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.133, allocations: 84.92 kB / 456.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.133, allocations: 7.938 kB / 456.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.1331, allocations: 11.98 kB / 456.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.1332, allocations: 0 / 456.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1332, allocations: 4 kB / 456.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1333, allocations: 124 kB / 456.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1333, allocations: 0 / 456.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1337, allocations: 19.94 kB / 456.9 MB, free: 3.488 MB / 334.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.0001384/0.1338, allocations: 103.2 kB / 457 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.1342, allocations: 67.89 kB / 457.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1342, allocations: 4.25 kB / 457.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.1344, allocations: 35.92 kB / 457.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1347, allocations: 24.92 kB / 457.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.1354, allocations: 360.2 kB / 457.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1357, allocations: 0.7081 MB / 458.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.1358, allocations: 8.547 kB / 458.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.1359, allocations: 15.44 kB / 458.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1359, allocations: 4 kB / 458.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of Templates: time 0.003919/0.1398, allocations: 1.053 MB / 459.3 MB, free: 1.039 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (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) 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) Reference file matches