Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 108.6 kB / 20.34 MB, free: 1.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 185.3 kB / 23.6 MB, free: 5.09 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.504/1.504, allocations: 207.6 MB / 234.3 MB, free: 9.996 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.07529/0.07529, allocations: 14.37 MB / 300.9 MB, free: 7.578 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.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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") [Timeout 660] "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.002969/0.002969, allocations: 69.45 kB / 424.6 MB, free: 36.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08763, allocations: 52.9 MB / 477.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003863/0.09149, allocations: 1.811 MB / 479.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004871/0.09198, allocations: 163.4 kB / 479.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.0921, allocations: 3.938 kB / 479.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.09225, allocations: 19.8 kB / 479.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.09244, allocations: 35.72 kB / 479.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.09258, allocations: 47.89 kB / 479.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.09279, allocations: 127.6 kB / 479.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.09296, allocations: 41.45 kB / 479.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.09305, allocations: 51.84 kB / 479.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.09317, allocations: 55.69 kB / 479.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.0932, allocations: 8 kB / 479.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.09322, allocations: 8 kB / 479.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.09325, allocations: 23.92 kB / 479.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.09331, allocations: 63.61 kB / 479.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.09351, allocations: 99.56 kB / 480 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.09352, allocations: 0 / 480 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09352, allocations: 0 / 480 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.09352, allocations: 0 / 480 MB, free: 12.99 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006951/0.09422, allocations: 357.7 kB / 480.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.09426, allocations: 8.031 kB / 480.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.09431, allocations: 20.84 kB / 480.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.09463, allocations: 158.9 kB / 480.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.09464, allocations: 4.375 kB / 480.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.09468, allocations: 8.375 kB / 480.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.09496, allocations: 128.2 kB / 480.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.09497, allocations: 0 / 480.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.09499, allocations: 0 / 480.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.09499, allocations: 8 kB / 480.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.0952, allocations: 63.89 kB / 480.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.09595, allocations: 404.4 kB / 481.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.0964, allocations: 123.8 kB / 481.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.09652, allocations: 46.62 kB / 481.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.09654, allocations: 4 kB / 481.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.09657, allocations: 30.56 kB / 481.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.09657, allocations: 4 kB / 481.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004199/0.09699, allocations: 125.4 kB / 481.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.09707, allocations: 103.1 kB / 481.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.09722, allocations: 154.4 kB / 481.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.09726, allocations: 33.7 kB / 481.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.09735, allocations: 116 kB / 481.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.09738, allocations: 27.75 kB / 481.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.09744, allocations: 25.7 kB / 482 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.09759, allocations: 322.8 kB / 482.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.0977, allocations: 23.98 kB / 482.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.09783, allocations: 69.33 kB / 482.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.09805, allocations: 79.44 kB / 482.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.09805, allocations: 7.875 kB / 482.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004372/0.09849, allocations: 138.3 kB / 482.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.0985, allocations: 4 kB / 482.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.09851, allocations: 0 / 482.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.09874, allocations: 36.92 kB / 482.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.09886, allocations: 19.92 kB / 482.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1003, allocations: 1.354 MB / 484 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1004, allocations: 11.92 kB / 484 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1004, allocations: 4 kB / 484 MB, free: 8.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1005, allocations: 121.8 kB / 484.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1006, allocations: 11.94 kB / 484.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.1006, allocations: 24.41 kB / 484.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1006, allocations: 0 / 484.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1006, allocations: 0 / 484.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1006, allocations: 4 kB / 484.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1009, allocations: 176.7 kB / 484.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1009, allocations: 0 / 484.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.101, allocations: 15.98 kB / 484.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.101, allocations: 0 / 484.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.101, allocations: 12 kB / 484.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1011, allocations: 0 / 484.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1011, allocations: 3.938 kB / 484.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.1027, allocations: 1.308 MB / 485.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.1027, allocations: 15.94 kB / 485.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1027, allocations: 4 kB / 485.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1029, allocations: 4.094 kB / 485.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.1029, allocations: 7.984 kB / 485.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1029, allocations: 4 kB / 485.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.103, allocations: 127.9 kB / 485.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.103, allocations: 0 / 485.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.1034, allocations: 20 kB / 485.9 MB, free: 6.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.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.0001155/0.1035, allocations: 95.25 kB / 485.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.1041, allocations: 202.7 kB / 486.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1041, allocations: 0 / 486.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1042, allocations: 35.86 kB / 486.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1046, allocations: 19.98 kB / 486.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.1053, allocations: 391.7 kB / 486.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.1057, allocations: 0.7041 MB / 487.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.383e-05/0.1058, allocations: 12.48 kB / 487.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1058, allocations: 15.44 kB / 487.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1058, allocations: 0 / 487.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Templates: time 0.005092/0.1109, allocations: 1.386 MB / 488.7 MB, free: 3.652 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.698792691997369]