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.001115/0.001115, allocations: 71.77 kB / 20.73 MB, free: 3.758 MB / 18.57 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.001307/0.001307, allocations: 173 kB / 24.15 MB, free: 340 kB / 18.57 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.043/1.043, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.04383/0.04383, allocations: 10.65 MB / 249 MB, free: 4.344 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 271.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.728e-05, allocations: 2.312 kB / 271.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.006286/0.006313, allocations: 1.799 MB / 273.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.006772, allocations: 163.3 kB / 273.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.006883, allocations: 3.938 kB / 273.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.007034, allocations: 23.8 kB / 273.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.01023, allocations: 31.72 kB / 273.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.01035, allocations: 35.95 kB / 273.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.01053, allocations: 135.6 kB / 273.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.01067, allocations: 34.19 kB / 273.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.01078, allocations: 75.8 kB / 274 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.01088, allocations: 35.89 kB / 274 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.01091, allocations: 8 kB / 274 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.01093, allocations: 12 kB / 274 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.01096, allocations: 27.84 kB / 274.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.011, allocations: 27.92 kB / 274.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.01116, allocations: 75.62 kB / 274.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01116, allocations: 0 / 274.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01116, allocations: 0 / 274.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.01117, allocations: 4 kB / 274.2 MB, free: 11.14 MB / 266.7 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.0004872/0.01165, allocations: 328.3 kB / 274.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.01169, allocations: 12.03 kB / 274.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.01174, allocations: 16.92 kB / 274.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.01194, allocations: 146.1 kB / 274.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.01196, allocations: 8.375 kB / 274.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.01199, allocations: 12.38 kB / 274.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.01218, allocations: 117.3 kB / 274.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.01218, allocations: 192 / 274.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.0122, allocations: 4.125 kB / 274.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.0122, allocations: 4 kB / 274.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.01226, allocations: 19.98 kB / 274.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.01272, allocations: 280.9 kB / 275.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.016, allocations: 95.62 kB / 275.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.01605, allocations: 34.62 kB / 275.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.01606, allocations: 4 kB / 275.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01609, allocations: 34.56 kB / 275.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.01609, allocations: 0 / 275.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000184/0.01627, allocations: 69.61 kB / 275.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.01633, allocations: 110.8 kB / 275.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.01644, allocations: 154.5 kB / 275.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.01645, allocations: 25.95 kB / 275.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.01651, allocations: 119.9 kB / 275.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.01653, allocations: 19.8 kB / 275.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.01658, allocations: 25.69 kB / 275.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.01667, allocations: 326.8 kB / 276.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.01669, allocations: 4 kB / 276.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.01676, allocations: 96.8 kB / 276.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.01683, allocations: 51.34 kB / 276.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01683, allocations: 0 / 276.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002032/0.01704, allocations: 94.42 kB / 276.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01705, allocations: 4 kB / 276.3 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01706, allocations: 3.938 kB / 276.3 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.01726, allocations: 40.91 kB / 276.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.01733, allocations: 15.98 kB / 276.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009165/0.01824, allocations: 1.194 MB / 277.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.01831, allocations: 11.89 kB / 277.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01832, allocations: 4 kB / 277.6 MB, free: 7.352 MB / 266.7 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 9.731e-05/0.01842, allocations: 121.9 kB / 277.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.01845, allocations: 15.95 kB / 277.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.01848, allocations: 20.45 kB / 277.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01848, allocations: 0 / 277.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.01848, allocations: 4 kB / 277.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01849, allocations: 0 / 277.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01865, allocations: 85.86 kB / 277.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.01865, allocations: 7.984 kB / 277.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.01873, allocations: 8 kB / 277.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01873, allocations: 7.938 kB / 277.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01874, allocations: 12.05 kB / 277.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01874, allocations: 0 / 277.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.01875, allocations: 11.98 kB / 277.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.0195, allocations: 1.058 MB / 279 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.01951, allocations: 7.953 kB / 279 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.01952, allocations: 0 / 279 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.01956, allocations: 8 kB / 279 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01961, allocations: 3.984 kB / 279 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01961, allocations: 12 kB / 279 MB, free: 5.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.01965, allocations: 33.56 kB / 279 MB, free: 5.812 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01965, allocations: 0 / 279 MB, free: 5.812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.01987, allocations: 27.94 kB / 279 MB, free: 5.785 MB / 266.7 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 9.46e-05/0.01996, allocations: 80.36 kB / 279.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.02021, allocations: 179.3 kB / 279.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02021, allocations: 4 kB / 279.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.02024, allocations: 28.98 kB / 279.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.02042, allocations: 23.97 kB / 279.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.02082, allocations: 360.8 kB / 279.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.02086, allocations: 71.33 kB / 279.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.02091, allocations: 8.922 kB / 279.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.02097, allocations: 71.36 kB / 279.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02097, allocations: 0 / 279.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of Templates: time 0.003314/0.02429, allocations: 1.525 MB / 281.4 MB, free: 3.352 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.082753126975149]