Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001465/0.001465, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001652/0.001652, allocations: 221.3 kB / 23 MB, free: 4.914 MB / 14.72 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 1.427/1.427, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.07134/0.07134, allocations: 14.38 MB / 300.5 MB, free: 7.262 MB / 238.1 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_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_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 76.45 kB / 424.2 MB, free: 36.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07339/0.07577, allocations: 52.9 MB / 477.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003103/0.07887, allocations: 1.764 MB / 478.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004074/0.07928, allocations: 171.5 kB / 479 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.07937, allocations: 11.88 kB / 479.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.0795, allocations: 19.8 kB / 479.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.07965, allocations: 27.78 kB / 479.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.07976, allocations: 43.95 kB / 479.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.07994, allocations: 123.6 kB / 479.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.08008, allocations: 45.38 kB / 479.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.08015, allocations: 43.86 kB / 479.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.08026, allocations: 51.64 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.08029, allocations: 8 kB / 479.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.08031, allocations: 8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.08034, allocations: 19.94 kB / 479.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.08038, allocations: 39.8 kB / 479.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.08055, allocations: 115.4 kB / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08056, allocations: 0 / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08056, allocations: 0 / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08056, allocations: 0 / 479.6 MB, free: 12.76 MB / 350.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.0005355/0.0811, allocations: 345.9 kB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.08113, allocations: 12.03 kB / 479.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.08117, allocations: 16.84 kB / 480 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.08145, allocations: 158.3 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.08147, allocations: 8.562 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.08151, allocations: 12.38 kB / 480.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.08178, allocations: 130.2 kB / 480.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.08179, allocations: 3.938 kB / 480.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.0818, allocations: 4 kB / 480.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.08181, allocations: 4 kB / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.08201, allocations: 69.14 kB / 480.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.08268, allocations: 0.5208 MB / 480.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.08298, allocations: 107.8 kB / 481 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.08308, allocations: 38.69 kB / 481 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.0831, allocations: 8 kB / 481 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.08313, allocations: 38.5 kB / 481 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.08313, allocations: 0 / 481 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.08352, allocations: 117.7 kB / 481.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.08359, allocations: 106.8 kB / 481.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.08373, allocations: 151.1 kB / 481.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.08375, allocations: 25.7 kB / 481.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.08385, allocations: 120.1 kB / 481.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.08387, allocations: 31.8 kB / 481.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.08392, allocations: 29.7 kB / 481.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.08408, allocations: 322.8 kB / 481.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.08418, allocations: 27.86 kB / 482 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.08431, allocations: 95.69 kB / 482 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.08453, allocations: 93.11 kB / 482.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.08453, allocations: 0 / 482.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002644/0.08479, allocations: 121.4 kB / 482.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.0848, allocations: 4 kB / 482.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.08481, allocations: 4 kB / 482.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.08482, allocations: 160 / 482.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.08497, allocations: 39.91 kB / 482.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.08497, allocations: 4 kB / 482.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.08506, allocations: 11.89 kB / 482.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.08507, allocations: 4 kB / 482.3 MB, free: 9.734 MB / 350.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.0001116/0.08518, allocations: 125.8 kB / 482.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.08523, allocations: 15.92 kB / 482.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.08526, allocations: 16.41 kB / 482.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.08526, allocations: 0 / 482.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.08527, allocations: 0 / 482.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.08527, allocations: 11.94 kB / 482.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.08546, allocations: 133.3 kB / 482.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.08547, allocations: 7.938 kB / 482.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.08559, allocations: 19.92 kB / 482.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.08559, allocations: 0 / 482.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.0856, allocations: 4 kB / 482.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0856, allocations: 4.125 kB / 482.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.0856, allocations: 4 kB / 482.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.08599, allocations: 237.1 kB / 482.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.08602, allocations: 19.86 kB / 482.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.08604, allocations: 4 kB / 482.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.08614, allocations: 0 / 482.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.08618, allocations: 11.98 kB / 482.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.08619, allocations: 7.938 kB / 482.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.08629, allocations: 115.9 kB / 483 MB, free: 8.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08629, allocations: 0 / 483 MB, free: 8.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.08655, allocations: 19.95 kB / 483.1 MB, free: 8.926 MB / 350.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 8.782e-05/0.08663, allocations: 95.31 kB / 483.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.08688, allocations: 63.89 kB / 483.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.08689, allocations: 4 kB / 483.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.08698, allocations: 27.92 kB / 483.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.0873, allocations: 27.92 kB / 483.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.08783, allocations: 279.4 kB / 483.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.08793, allocations: 93.17 kB / 483.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.08797, allocations: 11.44 kB / 483.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.08797, allocations: 0 / 483.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of Templates: time 0.003205/0.09118, allocations: 1.464 MB / 485.1 MB, free: 6.801 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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: 6.874305788893253]