Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,variableFilter="inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 118.1 kB / 17.1 MB, free: 5.949 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.001039/0.001039, allocations: 192.3 kB / 18.04 MB, free: 5.031 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.609/1.609, allocations: 205.1 MB / 223.9 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.06891/0.06891, allocations: 14.18 MB / 285.4 MB, free: 13.84 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.001462/0.001462, allocations: 70.41 kB / 399.9 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 50.14 MB / 450.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.00361/0.1082, allocations: 1.872 MB / 452 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1097, allocations: 0.8112 MB / 452.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1098, allocations: 11.94 kB / 452.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1101, allocations: 51.69 kB / 452.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1102, allocations: 63.62 kB / 452.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.1109, allocations: 215.6 kB / 453.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.1113, allocations: 251.4 kB / 453.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1115, allocations: 56.2 kB / 453.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1117, allocations: 95.67 kB / 453.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1119, allocations: 123.5 kB / 453.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.1119, allocations: 20 kB / 453.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1121, allocations: 91.92 kB / 453.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1122, allocations: 51.77 kB / 453.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1123, allocations: 107.3 kB / 453.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.1128, allocations: 267 kB / 454.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1128, allocations: 4 kB / 454.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1128, allocations: 0 / 454.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1128, allocations: 4 kB / 454.2 MB, free: 7.473 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001071/0.1139, allocations: 0.5895 MB / 454.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1139, allocations: 8.031 kB / 454.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.114, allocations: 24.8 kB / 454.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.1145, allocations: 302.9 kB / 455.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1145, allocations: 12.38 kB / 455.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.1145, allocations: 12.38 kB / 455.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.1152, allocations: 265.3 kB / 455.4 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1152, allocations: 4 kB / 455.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1152, allocations: 4 kB / 455.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1152, allocations: 4 kB / 455.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.116, allocations: 223.7 kB / 455.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1171, allocations: 0.869 MB / 456.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.118, allocations: 285 kB / 456.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.1184, allocations: 141.7 kB / 456.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1184, allocations: 3.984 kB / 456.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.119, allocations: 226.7 kB / 457.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.119, allocations: 4 kB / 457.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001402/0.1204, allocations: 484.1 kB / 457.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.1205, allocations: 170.2 kB / 457.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1208, allocations: 237 kB / 458 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1208, allocations: 37.69 kB / 458 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1209, allocations: 144.4 kB / 458.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.121, allocations: 51.53 kB / 458.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.1211, allocations: 53.69 kB / 458.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1212, allocations: 326.8 kB / 458.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.1216, allocations: 136.8 kB / 458.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.122, allocations: 186.7 kB / 458.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.1228, allocations: 329.1 kB / 459.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1229, allocations: 7.938 kB / 459.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009624/0.1238, allocations: 405.7 kB / 459.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1239, allocations: 37.69 kB / 459.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1239, allocations: 4 kB / 459.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1239, allocations: 3.938 kB / 459.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1242, allocations: 55.95 kB / 459.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1242, allocations: 0 / 459.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1245, allocations: 51.97 kB / 459.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1245, allocations: 11.94 kB / 459.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002129/0.1247, allocations: 164.1 kB / 459.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001877/0.1249, allocations: 137.3 kB / 460.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003118/0.1253, allocations: 241.6 kB / 460.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.1253, allocations: 4 kB / 460.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004534/0.1257, allocations: 287 kB / 460.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.1258, allocations: 41.84 kB / 460.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.1258, allocations: 4 kB / 460.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/0.1258, allocations: 4 kB / 460.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.126, allocations: 39.92 kB / 460.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.126, allocations: 7.984 kB / 460.7 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1261, allocations: 19.89 kB / 460.7 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1261, allocations: 11.98 kB / 460.7 MB, free: 436 kB / 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: 9 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001557/0.1263, allocations: 229.8 kB / 460.9 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1264, allocations: 27.86 kB / 461 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.1264, allocations: 33.77 kB / 461 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1264, allocations: 0 / 461 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1264, allocations: 4 kB / 461 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.1265, allocations: 96.95 kB / 461.1 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.1266, allocations: 8.047 kB / 461.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.1269, allocations: 39.91 kB / 461.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.127, allocations: 27.97 kB / 461.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001252/0.1282, allocations: 0.6102 MB / 461.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005808/0.1341, allocations: 3.469 MB / 465.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000426/0.1345, allocations: 164 kB / 465.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1347, allocations: 180.4 kB / 465.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.1347, allocations: 0 / 465.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.1361, allocations: 0.5595 MB / 466.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of SimCode: time 0.00129/0.1374, allocations: 1.371 MB / 467.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01024/0.1476, allocations: 5.824 MB / 473.3 MB, free: 3.504 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches