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.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.001464/0.001464, allocations: 114.3 kB / 19.7 MB, free: 2.18 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.001567/0.001567, allocations: 206.4 kB / 23.01 MB, free: 4.996 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.608/1.608, allocations: 207.6 MB / 233.8 MB, free: 10 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.06837/0.06837, allocations: 14.4 MB / 300.4 MB, free: 7.441 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.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.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.002386/0.002386, allocations: 63.91 kB / 424.2 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1084, allocations: 52.91 MB / 477.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003622/0.1121, allocations: 1.815 MB / 479 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000444/0.1125, allocations: 151.5 kB / 479.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1126, allocations: 11.94 kB / 479.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1128, allocations: 19.73 kB / 479.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.113, allocations: 35.77 kB / 479.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1131, allocations: 39.91 kB / 479.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1133, allocations: 131.7 kB / 479.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1135, allocations: 37.45 kB / 479.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1136, allocations: 59.77 kB / 479.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1137, allocations: 47.72 kB / 479.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1137, allocations: 12 kB / 479.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.1138, allocations: 12 kB / 479.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.1138, allocations: 23.92 kB / 479.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.1139, allocations: 51.67 kB / 479.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1141, allocations: 111.5 kB / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1141, allocations: 0 / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1141, allocations: 3.938 kB / 479.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1141, allocations: 0 / 479.7 MB, free: 12.88 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.0007463/0.1148, allocations: 353.8 kB / 480 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1149, allocations: 8.031 kB / 480 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1149, allocations: 16.84 kB / 480.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1152, allocations: 162.8 kB / 480.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1153, allocations: 4.375 kB / 480.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1153, allocations: 12.38 kB / 480.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1156, allocations: 128.2 kB / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1156, allocations: 0 / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1156, allocations: 4 kB / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1156, allocations: 0 / 480.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.1158, allocations: 63.95 kB / 480.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.1166, allocations: 412.4 kB / 480.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.117, allocations: 123.8 kB / 480.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1171, allocations: 54.59 kB / 481 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1171, allocations: 0 / 481 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1172, allocations: 30.56 kB / 481 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1172, allocations: 4 kB / 481 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004291/0.1176, allocations: 121.7 kB / 481.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.1177, allocations: 110.7 kB / 481.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1179, allocations: 150.4 kB / 481.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1179, allocations: 29.7 kB / 481.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.118, allocations: 112 kB / 481.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.118, allocations: 31.73 kB / 481.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1181, allocations: 21.72 kB / 481.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1183, allocations: 322.9 kB / 481.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.1184, allocations: 23.98 kB / 481.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1185, allocations: 65.12 kB / 482 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1187, allocations: 75.39 kB / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1187, allocations: 0 / 482.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003879/0.1191, allocations: 142.3 kB / 482.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1191, allocations: 14.42 kB / 482.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1191, allocations: 4.406 kB / 482.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.1193, allocations: 28.84 kB / 482.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1195, allocations: 19.98 kB / 482.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1208, allocations: 1.35 MB / 483.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1209, allocations: 15.91 kB / 483.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1209, allocations: 11.94 kB / 483.7 MB, free: 8.5 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.0001197/0.121, allocations: 125.8 kB / 483.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1211, allocations: 7.953 kB / 483.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.1211, allocations: 24.47 kB / 483.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1211, allocations: 3.984 kB / 483.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1211, allocations: 0 / 483.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1211, allocations: 4 kB / 483.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1214, allocations: 176.7 kB / 484 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1214, allocations: 0 / 484 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1215, allocations: 15.98 kB / 484 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1215, allocations: 0 / 484 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1215, allocations: 11.94 kB / 484 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1215, allocations: 0 / 484 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1215, allocations: 0 / 484 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1231, allocations: 1.296 MB / 485.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.1231, allocations: 20.03 kB / 485.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1232, allocations: 7.984 kB / 485.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1233, allocations: 4 kB / 485.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.1233, allocations: 11.92 kB / 485.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1233, allocations: 4 kB / 485.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1235, allocations: 123.9 kB / 485.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1235, allocations: 0 / 485.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1238, allocations: 20 kB / 485.5 MB, free: 6.48 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.0001125/0.1239, allocations: 99.25 kB / 485.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1244, allocations: 194.5 kB / 485.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1244, allocations: 0 / 485.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1246, allocations: 31.92 kB / 485.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1249, allocations: 33.58 kB / 485.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.1256, allocations: 379.8 kB / 486.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.126, allocations: 0.708 MB / 486.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.249e-05/0.1261, allocations: 12.44 kB / 486.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.1261, allocations: 19.42 kB / 487 MB, free: 4.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1261, allocations: 0 / 487 MB, free: 4.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004993/0.1311, allocations: 1.389 MB / 488.4 MB, free: 3.543 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 50] 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.991436144002364]