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.0009866/0.0009866, allocations: 71.77 kB / 20.73 MB, free: 3.762 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.001012/0.001012, allocations: 173 kB / 24.15 MB, free: 348 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 0.8638/0.8638, allocations: 158.6 MB / 186 MB, free: 2.773 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.04098/0.04098, allocations: 10.66 MB / 249 MB, free: 4.359 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.823e-06/1.823e-06, allocations: 0 / 271.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.722e-05, allocations: 6.25 kB / 271.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002364/0.002391, allocations: 1.865 MB / 273.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.00278, allocations: 167.4 kB / 273.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.002893, allocations: 11.88 kB / 273.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.003042, allocations: 23.73 kB / 273.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.003186, allocations: 31.78 kB / 273.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.548e-05/0.003272, allocations: 43.95 kB / 273.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003407, allocations: 123.6 kB / 274 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003516, allocations: 38.17 kB / 274 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.003589, allocations: 63.88 kB / 274.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.003671, allocations: 35.83 kB / 274.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.003691, allocations: 12 kB / 274.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003703, allocations: 8 kB / 274.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003726, allocations: 23.91 kB / 274.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.003753, allocations: 23.94 kB / 274.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003868, allocations: 87.59 kB / 274.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00387, allocations: 0 / 274.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003871, allocations: 0 / 274.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003875, allocations: 0 / 274.3 MB, free: 11.04 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003381/0.004213, allocations: 324.5 kB / 274.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.004242, allocations: 11.97 kB / 274.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.004277, allocations: 16.92 kB / 274.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.004444, allocations: 145.6 kB / 274.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.004461, allocations: 12.56 kB / 274.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.004483, allocations: 12.38 kB / 274.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.00463, allocations: 131.5 kB / 274.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.004638, allocations: 0 / 274.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.004647, allocations: 4 kB / 274.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.004653, allocations: 4 kB / 274.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.004696, allocations: 27.92 kB / 275 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.005062, allocations: 449.3 kB / 275.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.005186, allocations: 79.66 kB / 275.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.005214, allocations: 34.8 kB / 275.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.005225, allocations: 4 kB / 275.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005247, allocations: 42.5 kB / 275.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.005249, allocations: 0 / 275.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001333/0.005383, allocations: 69.55 kB / 275.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.005422, allocations: 111.1 kB / 275.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.005497, allocations: 150.5 kB / 275.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.005509, allocations: 37.64 kB / 275.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.005553, allocations: 107.9 kB / 276 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.005569, allocations: 27.75 kB / 276 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.005602, allocations: 29.69 kB / 276.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.005677, allocations: 322.8 kB / 276.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.005691, allocations: 8 kB / 276.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.005745, allocations: 110.2 kB / 276.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.005803, allocations: 69.11 kB / 276.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005805, allocations: 0 / 276.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.771e-05/0.005883, allocations: 85.47 kB / 276.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005894, allocations: 4 kB / 276.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005898, allocations: 3.938 kB / 276.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.005912, allocations: 12.09 kB / 276.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.006027, allocations: 23.98 kB / 276.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.006033, allocations: 11.97 kB / 276.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.006068, allocations: 7.953 kB / 276.7 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.006075, allocations: 8 kB / 276.7 MB, free: 8.309 MB / 266.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 5.786e-05/0.006133, allocations: 117.8 kB / 276.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.006156, allocations: 11.98 kB / 276.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.006176, allocations: 16.41 kB / 276.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006179, allocations: 3.984 kB / 276.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.006181, allocations: 0 / 276.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006185, allocations: 8 kB / 276.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.006286, allocations: 98.09 kB / 277 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006287, allocations: 0 / 277 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.006337, allocations: 19.98 kB / 277 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.00634, allocations: 4 kB / 277 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.006347, allocations: 0 / 277 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006347, allocations: 0 / 277 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.00635, allocations: 3.938 kB / 277 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.00705, allocations: 1.047 MB / 278.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.007061, allocations: 15.83 kB / 278.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.00707, allocations: 0 / 278.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.007111, allocations: 4 kB / 278.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.007159, allocations: 7.984 kB / 278.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007165, allocations: 4 kB / 278.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.007202, allocations: 37.48 kB / 278.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007202, allocations: 0 / 278.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.007424, allocations: 23.94 kB / 278.1 MB, free: 6.77 MB / 266.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 0.000102/0.007526, allocations: 80.48 kB / 278.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.007615, allocations: 40.78 kB / 278.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.007619, allocations: 0 / 278.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.00764, allocations: 20.8 kB / 278.3 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.007805, allocations: 31.91 kB / 278.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.008193, allocations: 365.7 kB / 278.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.008231, allocations: 71.28 kB / 278.7 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.008273, allocations: 12.73 kB / 278.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.008333, allocations: 67.38 kB / 278.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008334, allocations: 0 / 278.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of Templates: time 0.002651/0.01098, allocations: 1.234 MB / 280 MB, free: 4.773 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_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: 2.588782671838999]