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.001167/0.001167, allocations: 121.3 kB / 17.1 MB, free: 6 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.001091/0.001091, allocations: 192.8 kB / 18.03 MB, free: 5.078 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.457/1.457, allocations: 205.1 MB / 223.9 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.06786/0.06786, allocations: 14.16 MB / 285.4 MB, free: 13.86 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.001749/0.001749, allocations: 68.97 kB / 399.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09817, allocations: 50.13 MB / 450.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003461/0.1017, allocations: 1.829 MB / 451.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004962/0.1022, allocations: 167.5 kB / 452.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1024, allocations: 4 kB / 452.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1025, allocations: 23.73 kB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1027, allocations: 23.8 kB / 452.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.1029, allocations: 39.95 kB / 452.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1031, allocations: 131.5 kB / 452.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1033, allocations: 61.3 kB / 452.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.1034, allocations: 39.86 kB / 452.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1035, allocations: 51.7 kB / 452.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1035, allocations: 8 kB / 452.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.1035, allocations: 8 kB / 452.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.1036, allocations: 15.94 kB / 452.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1036, allocations: 59.59 kB / 452.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1038, allocations: 107.5 kB / 452.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1038, allocations: 0 / 452.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1039, allocations: 4 kB / 452.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1039, allocations: 0 / 452.6 MB, free: 9.008 MB / 334.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.0006586/0.1045, allocations: 423 kB / 453.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1046, allocations: 12.03 kB / 453.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1046, allocations: 12.84 kB / 453.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.105, allocations: 216.2 kB / 453.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.105, allocations: 12.56 kB / 453.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1051, allocations: 12.31 kB / 453.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1054, allocations: 136.3 kB / 453.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1054, allocations: 0 / 453.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1054, allocations: 4 kB / 453.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1054, allocations: 4 kB / 453.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1056, allocations: 71.83 kB / 453.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.1064, allocations: 0.603 MB / 454.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1067, allocations: 107.8 kB / 454.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1069, allocations: 50.69 kB / 454.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1069, allocations: 4 kB / 454.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1069, allocations: 42.55 kB / 454.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1069, allocations: 0 / 454.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.1074, allocations: 113.5 kB / 454.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1074, allocations: 107.1 kB / 454.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1076, allocations: 151.1 kB / 454.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1076, allocations: 29.7 kB / 454.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1077, allocations: 119.9 kB / 454.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1078, allocations: 27.72 kB / 454.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.1078, allocations: 25.72 kB / 454.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1081, allocations: 322.8 kB / 455.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.1082, allocations: 23.98 kB / 455.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1083, allocations: 73.98 kB / 455.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1085, allocations: 93.05 kB / 455.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1085, allocations: 7.922 kB / 455.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002643/0.1088, allocations: 113.5 kB / 455.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1088, allocations: 8.156 kB / 455.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1088, allocations: 7.984 kB / 455.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1089, allocations: 4 kB / 455.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.109, allocations: 19.98 kB / 455.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.109, allocations: 4 kB / 455.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.1091, allocations: 11.89 kB / 455.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1091, allocations: 7.938 kB / 455.6 MB, free: 5.742 MB / 334.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 0.0001102/0.1092, allocations: 133.7 kB / 455.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1093, allocations: 7.953 kB / 455.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1093, allocations: 20.31 kB / 455.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1093, allocations: 0 / 455.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1093, allocations: 0 / 455.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1094, allocations: 96.97 kB / 455.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1094, allocations: 4.312 kB / 455.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1096, allocations: 4 kB / 455.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1096, allocations: 11.92 kB / 455.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004659/0.1101, allocations: 339.4 kB / 456.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001745/0.1118, allocations: 1.708 MB / 457.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.97e-05/0.112, allocations: 28.02 kB / 457.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.1121, allocations: 111.9 kB / 458 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.1121, allocations: 0 / 458 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.1127, allocations: 128.5 kB / 458.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of SimCode: time 0.00108/0.1138, allocations: 0.9164 MB / 459.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of Templates: time 0.004335/0.1181, allocations: 1.204 MB / 460.3 MB, free: 0.7969 MB / 334.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 -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