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.001433/0.001433, 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.001424/0.001424, allocations: 216.2 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.588/1.588, allocations: 207.6 MB / 234.6 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.08021/0.08021, allocations: 14.4 MB / 301.2 MB, free: 7.531 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.002135/0.002135, allocations: 63.91 kB / 425 MB, free: 36.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 52.91 MB / 477.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.003592/0.1079, allocations: 1.81 MB / 479.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.1084, allocations: 159.5 kB / 479.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.1085, allocations: 7.938 kB / 479.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1086, allocations: 15.8 kB / 479.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1088, allocations: 31.78 kB / 479.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1089, allocations: 51.83 kB / 480 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1092, allocations: 123.7 kB / 480.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1093, allocations: 53.42 kB / 480.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.1094, allocations: 43.8 kB / 480.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1095, allocations: 59.7 kB / 480.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1095, allocations: 12 kB / 480.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.1096, allocations: 8 kB / 480.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.1096, allocations: 19.92 kB / 480.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.1097, allocations: 55.67 kB / 480.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1098, allocations: 103.5 kB / 480.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1098, allocations: 0 / 480.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1098, allocations: 0 / 480.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1098, allocations: 3.984 kB / 480.5 MB, free: 12.89 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.0006192/0.1105, allocations: 353.8 kB / 480.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1105, allocations: 8.031 kB / 480.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1105, allocations: 16.84 kB / 480.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1109, allocations: 158.8 kB / 481 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1109, allocations: 8.375 kB / 481 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1109, allocations: 8.375 kB / 481 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.1112, allocations: 132.2 kB / 481.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1112, allocations: 0 / 481.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1112, allocations: 7.984 kB / 481.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1112, allocations: 4 kB / 481.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1114, allocations: 51.97 kB / 481.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1121, allocations: 420.4 kB / 481.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.1125, allocations: 119.8 kB / 481.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1127, allocations: 46.62 kB / 481.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1127, allocations: 3.984 kB / 481.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.1127, allocations: 38.55 kB / 481.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1127, allocations: 0 / 481.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004089/0.1131, allocations: 121.5 kB / 481.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.1132, allocations: 110.8 kB / 482 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1134, allocations: 154.4 kB / 482.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.1134, allocations: 25.7 kB / 482.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.1135, allocations: 112 kB / 482.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1135, allocations: 27.75 kB / 482.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1136, allocations: 25.95 kB / 482.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1137, allocations: 326.8 kB / 482.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1138, allocations: 23.98 kB / 482.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.114, allocations: 61.08 kB / 482.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1141, allocations: 87.31 kB / 482.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1141, allocations: 0 / 482.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003941/0.1145, allocations: 138.7 kB / 483 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1146, allocations: 8 kB / 483 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1146, allocations: 4 kB / 483 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.1148, allocations: 32.83 kB / 483 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1149, allocations: 19.98 kB / 483.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1162, allocations: 1.35 MB / 484.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.1163, allocations: 15.89 kB / 484.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1163, allocations: 0 / 484.4 MB, free: 8.516 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.0001118/0.1165, allocations: 129.8 kB / 484.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1165, allocations: 7.953 kB / 484.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.1165, allocations: 20.34 kB / 484.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1165, allocations: 0 / 484.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1165, allocations: 4 kB / 484.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1165, allocations: 144 / 484.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1168, allocations: 184.7 kB / 484.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1168, allocations: 0 / 484.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1169, allocations: 19.98 kB / 484.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1169, allocations: 4 kB / 484.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1169, allocations: 7.938 kB / 484.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1169, allocations: 3.984 kB / 484.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1169, allocations: 0 / 484.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.1185, allocations: 1.296 MB / 486.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.1186, allocations: 15.91 kB / 486.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1186, allocations: 0 / 486.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1187, allocations: 7.984 kB / 486.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1187, allocations: 11.94 kB / 486.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1187, allocations: 3.984 kB / 486.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1188, allocations: 119.9 kB / 486.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1188, allocations: 0 / 486.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.1192, allocations: 28 kB / 486.3 MB, free: 6.488 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.0001122/0.1193, allocations: 99.3 kB / 486.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.1198, allocations: 194.5 kB / 486.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1198, allocations: 0 / 486.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1199, allocations: 32.42 kB / 486.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1202, allocations: 45.41 kB / 486.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.1209, allocations: 383.5 kB / 487 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1213, allocations: 0.7041 MB / 487.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.1214, allocations: 12.48 kB / 487.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1214, allocations: 11.44 kB / 487.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1214, allocations: 4 kB / 487.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004522/0.1259, allocations: 1.382 MB / 489.1 MB, free: 3.551 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: 5.056074241991155]