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.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.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.8 kB / 17.04 MB, free: 5.664 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.001088/0.001088, allocations: 194.9 kB / 17.97 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.298/1.298, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06371/0.06371, allocations: 14.16 MB / 285.4 MB, free: 13.87 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.001501/0.001502, allocations: 67.84 kB / 349.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 50.12 MB / 399.4 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002557/0.261, allocations: 1.823 MB / 401.2 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.2614, allocations: 171.2 kB / 401.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.2615, allocations: 7.344 kB / 401.4 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2616, allocations: 16.92 kB / 401.4 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2618, allocations: 30.09 kB / 401.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.645e-05/0.2618, allocations: 46.8 kB / 401.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.262, allocations: 117.8 kB / 401.6 MB, free: 47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2621, allocations: 62.95 kB / 401.7 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.2622, allocations: 44.33 kB / 401.7 MB, free: 46.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.2623, allocations: 53.38 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.2623, allocations: 8.219 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.2623, allocations: 13.53 kB / 401.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.2624, allocations: 14.75 kB / 401.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.2624, allocations: 50.11 kB / 401.9 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2625, allocations: 112.8 kB / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2626, allocations: 0 / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2626, allocations: 0.6562 kB / 402 MB, free: 46.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2626, allocations: 0 / 402 MB, free: 46.75 MB / 318.1 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.0004223/0.263, allocations: 415.6 kB / 402.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.263, allocations: 10.12 kB / 402.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.2631, allocations: 24.09 kB / 402.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.2633, allocations: 224.2 kB / 402.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2633, allocations: 9.062 kB / 402.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.2634, allocations: 10.72 kB / 402.7 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2636, allocations: 136.9 kB / 402.8 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2636, allocations: 5.312 kB / 402.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2636, allocations: 5.312 kB / 402.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2636, allocations: 2.719 kB / 402.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.2638, allocations: 65.98 kB / 402.9 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.2643, allocations: 0.599 MB / 403.5 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2646, allocations: 110.6 kB / 403.6 MB, free: 45.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.2647, allocations: 42.25 kB / 403.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2647, allocations: 1.438 kB / 403.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2647, allocations: 40.64 kB / 403.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2647, allocations: 0 / 403.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003463/0.2651, allocations: 117.8 kB / 403.8 MB, free: 45.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2651, allocations: 104.7 kB / 403.9 MB, free: 44.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.2652, allocations: 157.5 kB / 404 MB, free: 44.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2652, allocations: 25.7 kB / 404.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2653, allocations: 112.6 kB / 404.2 MB, free: 44.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.2653, allocations: 27.8 kB / 404.2 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.2654, allocations: 29.5 kB / 404.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.2654, allocations: 321.3 kB / 404.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.2655, allocations: 24.8 kB / 404.6 MB, free: 44.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.2656, allocations: 67.23 kB / 404.6 MB, free: 44.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2658, allocations: 106.2 kB / 404.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.2658, allocations: 0 / 404.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002233/0.266, allocations: 119.8 kB / 404.8 MB, free: 44.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.266, allocations: 13.36 kB / 404.9 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.266, allocations: 1.281 kB / 404.9 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.266, allocations: 6.297 kB / 404.9 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2662, allocations: 26.89 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2662, allocations: 2.438 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.2663, allocations: 9.688 kB / 404.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2663, allocations: 11.67 kB / 404.9 MB, free: 44.01 MB / 318.1 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 6.449e-05/0.2664, allocations: 128.4 kB / 405 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.2664, allocations: 12.44 kB / 405.1 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2664, allocations: 11.5 kB / 405.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2664, allocations: 2.031 kB / 405.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2665, allocations: 1.156 kB / 405.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2665, allocations: 3.984 kB / 405.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.2666, allocations: 212.3 kB / 405.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2666, allocations: 1.219 kB / 405.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2668, allocations: 24.36 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2668, allocations: 1.094 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2668, allocations: 6.125 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2668, allocations: 1.125 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2668, allocations: 1.125 kB / 405.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.2679, allocations: 1.372 MB / 406.7 MB, free: 42.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.2679, allocations: 84.39 kB / 406.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2679, allocations: 9.047 kB / 406.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.268, allocations: 2.969 kB / 406.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2681, allocations: 12.23 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2681, allocations: 2.062 kB / 406.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.2682, allocations: 106.2 kB / 406.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2682, allocations: 0 / 406.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.2685, allocations: 30.03 kB / 406.9 MB, free: 42.03 MB / 318.1 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.866e-05/0.2686, allocations: 101 kB / 407 MB, free: 41.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2688, allocations: 66.59 kB / 407.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2689, allocations: 0 / 407.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.269, allocations: 30.23 kB / 407.1 MB, free: 41.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2693, allocations: 32.41 kB / 407.2 MB, free: 41.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.2698, allocations: 360.7 kB / 407.5 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2699, allocations: 0.7073 MB / 408.2 MB, free: 40.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.27, allocations: 18.3 kB / 408.2 MB, free: 40.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.27, allocations: 12.78 kB / 408.2 MB, free: 40.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2701, allocations: 0 / 408.2 MB, free: 40.82 MB / 318.1 MB Notification: Performance of Templates: time 0.003177/0.2732, allocations: 1.017 MB / 409.3 MB, free: 40.3 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches