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) 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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 121.6 kB / 17.1 MB, free: 5.977 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.001175/0.001175, allocations: 196.3 kB / 18.03 MB, free: 5.059 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.36/1.36, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06699/0.06699, allocations: 14.16 MB / 285.4 MB, free: 13.86 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.001518/0.001518, allocations: 66.88 kB / 399.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.0751, allocations: 50.14 MB / 450.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00262/0.07775, allocations: 1.798 MB / 451.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.07807, allocations: 147.5 kB / 452 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.07817, allocations: 7.938 kB / 452 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.07831, allocations: 19.8 kB / 452 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.07847, allocations: 31.78 kB / 452.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.704e-05/0.07857, allocations: 35.89 kB / 452.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.07874, allocations: 135.7 kB / 452.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.07889, allocations: 61.22 kB / 452.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.07897, allocations: 51.78 kB / 452.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.07908, allocations: 47.78 kB / 452.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.07911, allocations: 15.94 kB / 452.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.07914, allocations: 8 kB / 452.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.07917, allocations: 23.91 kB / 452.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.07923, allocations: 47.73 kB / 452.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.07937, allocations: 107.6 kB / 452.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.07938, allocations: 0 / 452.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07939, allocations: 0 / 452.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.0794, allocations: 0 / 452.6 MB, free: 9.012 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005709/0.07997, allocations: 438.9 kB / 453 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.08002, allocations: 8.031 kB / 453 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.08006, allocations: 12.84 kB / 453 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.08033, allocations: 214.7 kB / 453.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.08035, allocations: 12.31 kB / 453.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.08038, allocations: 12.38 kB / 453.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.08063, allocations: 128.2 kB / 453.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.08065, allocations: 0 / 453.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.08068, allocations: 4 kB / 453.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.08068, allocations: 0 / 453.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.08088, allocations: 55.97 kB / 453.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.08149, allocations: 453.1 kB / 453.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.08188, allocations: 127.8 kB / 454 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.082, allocations: 46.62 kB / 454.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.08202, allocations: 4 kB / 454.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.08205, allocations: 34.55 kB / 454.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.08206, allocations: 0 / 454.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004074/0.08247, allocations: 129.5 kB / 454.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.08252, allocations: 106.8 kB / 454.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.08266, allocations: 150.4 kB / 454.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.08268, allocations: 29.7 kB / 454.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.08275, allocations: 115.9 kB / 454.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.08278, allocations: 19.7 kB / 454.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.08283, allocations: 25.97 kB / 454.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.08294, allocations: 322.8 kB / 455 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.08303, allocations: 19.98 kB / 455 MB, free: 6.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.08315, allocations: 61.14 kB / 455.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.08334, allocations: 83.38 kB / 455.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.08335, allocations: 0 / 455.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003731/0.08373, allocations: 146.5 kB / 455.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.08375, allocations: 8 kB / 455.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.08376, allocations: 0 / 455.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.08396, allocations: 32.83 kB / 455.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.08408, allocations: 15.98 kB / 455.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.0852, allocations: 1.461 MB / 456.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.08532, allocations: 11.89 kB / 456.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.08534, allocations: 4 kB / 456.8 MB, free: 4.316 MB / 334.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 8.891e-05/0.08543, allocations: 130.5 kB / 457 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.08548, allocations: 7.906 kB / 457 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.08551, allocations: 20.25 kB / 457 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.08552, allocations: 7.922 kB / 457 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.08553, allocations: 4 kB / 457 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.08558, allocations: 85.14 kB / 457.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.08561, allocations: 4 kB / 457.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.08574, allocations: 15.92 kB / 457.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.08579, allocations: 8 kB / 457.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000383/0.08618, allocations: 327.4 kB / 457.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001495/0.08768, allocations: 1.75 MB / 459.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.839e-05/0.0878, allocations: 35.94 kB / 459.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.843e-05/0.08789, allocations: 119.2 kB / 459.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Backend: time 3.9e-07/0.0879, allocations: 0 / 459.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.08867, allocations: 241.2 kB / 459.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of SimCode: time 0.000789/0.08948, allocations: 0.9285 MB / 460.5 MB, free: 400 kB / 334.1 MB Notification: Performance of Templates: time 0.004076/0.09356, allocations: 1.502 MB / 462 MB, free: 14.89 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile (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 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) 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) Reference file matches