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.002207/0.002207, allocations: 90.56 kB / 20.21 MB, free: 4.328 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.002792/0.002792, allocations: 165.3 kB / 23.53 MB, free: 1.012 MB / 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.509/1.509, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.07015/0.07015, allocations: 10.65 MB / 248.3 MB, free: 4.543 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.553e-06/1.553e-06, allocations: 0 / 319.5 MB, free: 39.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.161e-05, allocations: 7.234 kB / 319.5 MB, free: 39.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00328/0.003312, allocations: 1.752 MB / 321.2 MB, free: 38.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.003919, allocations: 155.5 kB / 321.4 MB, free: 38.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.00413, allocations: 4 kB / 321.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.004316, allocations: 19.73 kB / 321.4 MB, free: 38.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.004521, allocations: 27.8 kB / 321.4 MB, free: 38.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.004627, allocations: 47.81 kB / 321.5 MB, free: 37.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004809, allocations: 127.6 kB / 321.6 MB, free: 37.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004937, allocations: 34.86 kB / 321.6 MB, free: 37.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.005037, allocations: 75.8 kB / 321.7 MB, free: 37.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.005126, allocations: 35.91 kB / 321.7 MB, free: 37.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.005152, allocations: 12 kB / 321.7 MB, free: 37.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.005169, allocations: 8 kB / 321.8 MB, free: 37.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.005196, allocations: 23.91 kB / 321.8 MB, free: 37.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.005242, allocations: 35.84 kB / 321.8 MB, free: 37.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.005397, allocations: 107.6 kB / 321.9 MB, free: 37.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005399, allocations: 0 / 321.9 MB, free: 37.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0054, allocations: 0 / 321.9 MB, free: 37.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005405, allocations: 3.938 kB / 321.9 MB, free: 37.52 MB / 282.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.000524/0.005929, allocations: 359.3 kB / 322.3 MB, free: 37.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.005962, allocations: 8.031 kB / 322.3 MB, free: 37.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.006027, allocations: 24.84 kB / 322.3 MB, free: 37.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.006254, allocations: 158.1 kB / 322.5 MB, free: 36.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.006269, allocations: 8.375 kB / 322.5 MB, free: 36.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.0063, allocations: 16.36 kB / 322.5 MB, free: 36.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.006515, allocations: 112.8 kB / 322.6 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.006525, allocations: 192 / 322.6 MB, free: 36.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.00654, allocations: 12.12 kB / 322.6 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006546, allocations: 0 / 322.6 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.006722, allocations: 67.89 kB / 322.7 MB, free: 36.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.007235, allocations: 373 kB / 323 MB, free: 36.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.007591, allocations: 119.8 kB / 323.2 MB, free: 36.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.0077, allocations: 50.62 kB / 323.2 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.007721, allocations: 0 / 323.2 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.007737, allocations: 38.5 kB / 323.2 MB, free: 36.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.007738, allocations: 0 / 323.2 MB, free: 36.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003726/0.00811, allocations: 121.5 kB / 323.4 MB, free: 35.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.008143, allocations: 106.8 kB / 323.5 MB, free: 35.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.008248, allocations: 154.4 kB / 323.6 MB, free: 35.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.008262, allocations: 29.95 kB / 323.6 MB, free: 35.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.008311, allocations: 116 kB / 323.8 MB, free: 35.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.008329, allocations: 23.8 kB / 323.8 MB, free: 35.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.008373, allocations: 33.66 kB / 323.8 MB, free: 35.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.008422, allocations: 322.8 kB / 324.1 MB, free: 35.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.008505, allocations: 23.98 kB / 324.2 MB, free: 35.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.008614, allocations: 109.3 kB / 324.3 MB, free: 34.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.008772, allocations: 87.31 kB / 324.3 MB, free: 34.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008774, allocations: 0 / 324.3 MB, free: 34.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000328/0.009102, allocations: 142.3 kB / 324.5 MB, free: 34.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.009114, allocations: 4 kB / 324.5 MB, free: 34.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.00912, allocations: 4 kB / 324.5 MB, free: 34.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.009399, allocations: 48.91 kB / 324.5 MB, free: 34.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.009503, allocations: 11.98 kB / 324.6 MB, free: 34.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.01031, allocations: 1.324 MB / 325.9 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.0104, allocations: 15.97 kB / 325.9 MB, free: 33.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.01041, allocations: 4.062 kB / 325.9 MB, free: 33.16 MB / 282.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 7.895e-05/0.01049, allocations: 129.7 kB / 326 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.01053, allocations: 15.89 kB / 326 MB, free: 33.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.01055, allocations: 16.45 kB / 326.1 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01056, allocations: 4 kB / 326.1 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01056, allocations: 0 / 326.1 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01056, allocations: 0 / 326.1 MB, free: 33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.0107, allocations: 145.2 kB / 326.2 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0107, allocations: 4 kB / 326.2 MB, free: 32.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.01081, allocations: 19.98 kB / 326.2 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01082, allocations: 0 / 326.2 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01083, allocations: 3.984 kB / 326.2 MB, free: 32.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01083, allocations: 4 kB / 326.2 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01083, allocations: 0 / 326.2 MB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.01189, allocations: 1.273 MB / 327.5 MB, free: 31.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.0119, allocations: 19.84 kB / 327.5 MB, free: 31.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01192, allocations: 3.984 kB / 327.5 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01203, allocations: 7.938 kB / 327.5 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.01208, allocations: 19.92 kB / 327.6 MB, free: 31.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.01208, allocations: 0 / 327.6 MB, free: 31.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.01215, allocations: 117.1 kB / 327.7 MB, free: 31.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01215, allocations: 0 / 327.7 MB, free: 31.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.01251, allocations: 28 kB / 327.7 MB, free: 31.21 MB / 282.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 8.064e-05/0.01259, allocations: 95.34 kB / 327.8 MB, free: 31.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.01302, allocations: 194.5 kB / 328 MB, free: 30.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01302, allocations: 0 / 328 MB, free: 30.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.01312, allocations: 31.92 kB / 328 MB, free: 30.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.01346, allocations: 37.64 kB / 328 MB, free: 30.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.01399, allocations: 373.4 kB / 328.4 MB, free: 30.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.794e-05/0.01404, allocations: 93.3 kB / 328.5 MB, free: 30.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.01411, allocations: 16.48 kB / 328.5 MB, free: 30.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.01415, allocations: 12.5 kB / 328.5 MB, free: 30.3 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01415, allocations: 0 / 328.5 MB, free: 30.3 MB / 282.7 MB Notification: Performance of Templates: time 0.00422/0.01837, allocations: 1.449 MB / 330 MB, free: 28.88 MB / 282.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/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.773429849999957]