Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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.0007638/0.0007638, allocations: 80.44 kB / 19.94 MB, free: 4.629 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.0007552/0.0007552, allocations: 165.9 kB / 23.21 MB, free: 1.352 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 0.9654/0.9654, allocations: 158.6 MB / 185 MB, free: 3.027 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.03916/0.03916, allocations: 10.65 MB / 247.9 MB, free: 4.723 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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 371.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.605e-05, allocations: 8.047 kB / 371.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.00253/0.002566, allocations: 1.776 MB / 373.5 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004501/0.003016, allocations: 167.4 kB / 373.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.003158, allocations: 3.938 kB / 373.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.003342, allocations: 23.8 kB / 373.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.00353, allocations: 27.73 kB / 373.7 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.003639, allocations: 39.94 kB / 373.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.003813, allocations: 127.6 kB / 373.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.003969, allocations: 37.5 kB / 373.9 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.004051, allocations: 67.81 kB / 374 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.004146, allocations: 39.89 kB / 374 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.004172, allocations: 8 kB / 374 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.004185, allocations: 8 kB / 374 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.004208, allocations: 15.94 kB / 374 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.004247, allocations: 39.78 kB / 374.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004414, allocations: 103.6 kB / 374.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004417, allocations: 0 / 374.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.004419, allocations: 4 kB / 374.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.004425, allocations: 0 / 374.2 MB, free: 1.031 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000513/0.004938, allocations: 353.9 kB / 374.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004976, allocations: 8.031 kB / 374.5 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.005018, allocations: 16.84 kB / 374.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.005265, allocations: 153.6 kB / 374.7 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.00528, allocations: 8.562 kB / 374.7 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.005305, allocations: 8.375 kB / 374.7 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.005529, allocations: 138.9 kB / 374.9 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005537, allocations: 0 / 374.9 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.00555, allocations: 8 kB / 374.9 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.005558, allocations: 7.984 kB / 374.9 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.005676, allocations: 63.91 kB / 374.9 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.006239, allocations: 0.5171 MB / 375.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.006465, allocations: 107.8 kB / 375.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.006529, allocations: 46.73 kB / 375.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.006548, allocations: 7.984 kB / 375.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.006572, allocations: 42.44 kB / 375.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.006573, allocations: 0 / 375.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002657/0.006839, allocations: 117.5 kB / 375.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.006886, allocations: 102.8 kB / 375.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006993, allocations: 154.4 kB / 376 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.007007, allocations: 25.7 kB / 376.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.007074, allocations: 124.2 kB / 376.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.007095, allocations: 31.73 kB / 376.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.007136, allocations: 25.72 kB / 376.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.007224, allocations: 318.8 kB / 376.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.007288, allocations: 27.92 kB / 376.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.007368, allocations: 91.94 kB / 376.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.007485, allocations: 109 kB / 376.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.007487, allocations: 0 / 376.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001468/0.007634, allocations: 113.5 kB / 376.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.007651, allocations: 11.94 kB / 376.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007656, allocations: 0 / 376.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.007671, allocations: 4.156 kB / 376.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.007757, allocations: 31.98 kB / 376.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.007762, allocations: 0 / 376.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.007806, allocations: 11.89 kB / 376.9 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.007818, allocations: 7.984 kB / 376.9 MB, free: 13.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 7.778e-05/0.007896, allocations: 127.8 kB / 377.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.007916, allocations: 11.89 kB / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.007939, allocations: 12.47 kB / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.007941, allocations: 4 kB / 377.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007946, allocations: 4 kB / 377.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007951, allocations: 3.984 kB / 377.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.008079, allocations: 141.2 kB / 377.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00808, allocations: 0 / 377.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.008145, allocations: 15.98 kB / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.008147, allocations: 4 kB / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.008157, allocations: 3.938 kB / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008158, allocations: 0 / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.008161, allocations: 3.938 kB / 377.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/0.009134, allocations: 1.246 MB / 378.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.009146, allocations: 7.984 kB / 378.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.009155, allocations: 8 kB / 378.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.009209, allocations: 3.984 kB / 378.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.009255, allocations: 4 kB / 378.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.009265, allocations: 8.078 kB / 378.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.00933, allocations: 115.2 kB / 378.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00933, allocations: 7.938 kB / 378.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.009564, allocations: 23.89 kB / 378.7 MB, free: 12.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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.521e-05/0.009649, allocations: 99.23 kB / 378.8 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.009807, allocations: 71.81 kB / 378.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009809, allocations: 4 kB / 378.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.009853, allocations: 28.3 kB / 378.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.01009, allocations: 38.62 kB / 378.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.0106, allocations: 358.2 kB / 379.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.01067, allocations: 93.86 kB / 379.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.01072, allocations: 12.61 kB / 379.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.01076, allocations: 16.5 kB / 379.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01076, allocations: 0 / 379.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Templates: time 0.002936/0.01369, allocations: 1.08 MB / 380.5 MB, free: 10.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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: 3.0778842428699136]