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.000925/0.000925, allocations: 76.45 kB / 19.94 MB, free: 4.625 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.0009883/0.0009883, allocations: 169.9 kB / 23.21 MB, free: 1.348 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.9051/0.9051, allocations: 158.6 MB / 185 MB, free: 3.023 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.03888/0.03888, allocations: 10.65 MB / 247.9 MB, free: 4.727 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.793e-06/1.793e-06, allocations: 3.938 kB / 371.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.79e-05, allocations: 2.281 kB / 371.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002475/0.002503, allocations: 1.78 MB / 373.5 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.002881, allocations: 163.4 kB / 373.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.002993, allocations: 11.94 kB / 373.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.003146, allocations: 19.8 kB / 373.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.003304, allocations: 31.72 kB / 373.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.972e-05/0.003394, allocations: 35.95 kB / 373.8 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.003543, allocations: 131.6 kB / 373.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003674, allocations: 37.5 kB / 373.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.003749, allocations: 71.81 kB / 374 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.003839, allocations: 27.91 kB / 374 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.00387, allocations: 12 kB / 374 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.003884, allocations: 12 kB / 374 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.003909, allocations: 19.91 kB / 374.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.00394, allocations: 31.86 kB / 374.1 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004106, allocations: 107.6 kB / 374.2 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004108, allocations: 0 / 374.2 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.004109, allocations: 0 / 374.2 MB, free: 1.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004114, allocations: 0 / 374.2 MB, free: 1.039 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.0005369/0.00465, allocations: 349.9 kB / 374.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.004688, allocations: 16.03 kB / 374.6 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.004728, allocations: 12.84 kB / 374.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.004958, allocations: 165.5 kB / 374.7 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004972, allocations: 4.562 kB / 374.7 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.004999, allocations: 12.38 kB / 374.7 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.005198, allocations: 131 kB / 374.9 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005206, allocations: 0 / 374.9 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.005221, allocations: 8 kB / 374.9 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.005226, allocations: 0 / 374.9 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.005343, allocations: 75.83 kB / 375 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.005863, allocations: 0.5093 MB / 375.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.006095, allocations: 107.8 kB / 375.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.006158, allocations: 42.81 kB / 375.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.00618, allocations: 7.984 kB / 375.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.006202, allocations: 46.38 kB / 375.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006203, allocations: 0 / 375.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002677/0.006471, allocations: 117.7 kB / 375.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.006517, allocations: 106.8 kB / 375.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.006754, allocations: 150.4 kB / 376 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.006768, allocations: 29.7 kB / 376.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.006831, allocations: 119.9 kB / 376.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.006852, allocations: 28 kB / 376.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.006887, allocations: 33.7 kB / 376.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.006972, allocations: 322.8 kB / 376.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.00702, allocations: 23.98 kB / 376.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.007099, allocations: 99.64 kB / 376.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.00721, allocations: 97.09 kB / 376.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007212, allocations: 0 / 376.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001455/0.007358, allocations: 117.5 kB / 376.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.007374, allocations: 7.938 kB / 376.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.00738, allocations: 4 kB / 376.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007393, allocations: 0 / 376.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.007477, allocations: 32.14 kB / 376.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.007485, allocations: 7.922 kB / 376.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.007529, allocations: 15.89 kB / 376.9 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.007539, allocations: 4 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.477e-05/0.007614, allocations: 119.8 kB / 377.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.007636, allocations: 15.89 kB / 377.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.007661, allocations: 12.45 kB / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.007664, allocations: 4 kB / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.007669, allocations: 0 / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007672, allocations: 0 / 377.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.007794, allocations: 141.3 kB / 377.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007795, allocations: 0 / 377.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.007855, allocations: 23.92 kB / 377.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007858, allocations: 0 / 377.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.007869, allocations: 7.922 kB / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.007871, allocations: 4 kB / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007872, allocations: 64 / 377.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.008816, allocations: 1.242 MB / 378.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.008827, allocations: 11.97 kB / 378.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.008838, allocations: 8 kB / 378.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.008889, allocations: 4 kB / 378.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.008927, allocations: 3.984 kB / 378.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008931, allocations: 4 kB / 378.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.008991, allocations: 119.2 kB / 378.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008991, allocations: 8.031 kB / 378.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00023/0.009221, allocations: 23.89 kB / 378.7 MB, free: 12.11 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 7.47e-05/0.009296, allocations: 99.23 kB / 378.8 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.00945, allocations: 67.84 kB / 378.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009452, allocations: 0 / 378.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.009499, allocations: 32.28 kB / 378.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.009727, allocations: 44.77 kB / 378.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.01018, allocations: 350.3 kB / 379.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.01025, allocations: 97.84 kB / 379.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.0103, allocations: 12.5 kB / 379.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.01033, allocations: 12.5 kB / 379.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01033, allocations: 0 / 379.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.003345/0.01367, allocations: 1.077 MB / 380.5 MB, free: 10.27 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.0285515589639544]