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.001432/0.001432, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001571/0.001571, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.518/1.518, allocations: 158.6 MB / 184.6 MB, free: 2.902 MB / 170.7 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.06787/0.06787, allocations: 10.65 MB / 247.5 MB, free: 4.527 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_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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 318.7 MB, free: 40 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.775e-05, allocations: 4.234 kB / 318.7 MB, free: 39.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003481/0.003518, allocations: 1.788 MB / 320.5 MB, free: 38.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000531/0.004049, allocations: 163.5 kB / 320.6 MB, free: 38.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.004207, allocations: 7.938 kB / 320.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.004374, allocations: 15.8 kB / 320.7 MB, free: 38.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.00458, allocations: 27.73 kB / 320.7 MB, free: 37.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.004712, allocations: 51.94 kB / 320.7 MB, free: 37.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004904, allocations: 123.6 kB / 320.9 MB, free: 37.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005039, allocations: 34.84 kB / 320.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005146, allocations: 71.81 kB / 321 MB, free: 37.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.005242, allocations: 27.89 kB / 321 MB, free: 37.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.005271, allocations: 8 kB / 321 MB, free: 37.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.00529, allocations: 12 kB / 321 MB, free: 37.67 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.005316, allocations: 15.92 kB / 321 MB, free: 37.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.005365, allocations: 35.86 kB / 321.1 MB, free: 37.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.005551, allocations: 111.5 kB / 321.2 MB, free: 37.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005553, allocations: 4 kB / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005554, allocations: 0 / 321.2 MB, free: 37.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005558, allocations: 0 / 321.2 MB, free: 37.5 MB / 282.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.0005236/0.006082, allocations: 351.5 kB / 321.5 MB, free: 37.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.006119, allocations: 8.031 kB / 321.5 MB, free: 37.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.006196, allocations: 24.84 kB / 321.6 MB, free: 37.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.006497, allocations: 157.6 kB / 321.7 MB, free: 36.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.006519, allocations: 12.56 kB / 321.7 MB, free: 36.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.006558, allocations: 12.38 kB / 321.7 MB, free: 36.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.006837, allocations: 140.2 kB / 321.9 MB, free: 36.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006847, allocations: 0 / 321.9 MB, free: 36.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.006864, allocations: 4 kB / 321.9 MB, free: 36.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.006872, allocations: 4 kB / 321.9 MB, free: 36.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.007106, allocations: 63.89 kB / 321.9 MB, free: 36.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.007763, allocations: 0.5286 MB / 322.5 MB, free: 36.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.008071, allocations: 112 kB / 322.6 MB, free: 35.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.00819, allocations: 42.62 kB / 322.6 MB, free: 35.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.008213, allocations: 0 / 322.6 MB, free: 35.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.008233, allocations: 38.5 kB / 322.7 MB, free: 35.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008234, allocations: 0 / 322.7 MB, free: 35.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.008698, allocations: 127.2 kB / 322.8 MB, free: 35.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.00873, allocations: 106.8 kB / 322.9 MB, free: 35.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008858, allocations: 150.4 kB / 323 MB, free: 35.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.008871, allocations: 25.7 kB / 323.1 MB, free: 35.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.008933, allocations: 123.9 kB / 323.2 MB, free: 35.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.008954, allocations: 23.73 kB / 323.2 MB, free: 35.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.009014, allocations: 33.66 kB / 323.2 MB, free: 35.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.009073, allocations: 318.8 kB / 323.5 MB, free: 34.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.009182, allocations: 23.97 kB / 323.6 MB, free: 34.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.009329, allocations: 126.2 kB / 323.7 MB, free: 34.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.009545, allocations: 101.1 kB / 323.8 MB, free: 34.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.009548, allocations: 0.875 kB / 323.8 MB, free: 34.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.009862, allocations: 129.5 kB / 323.9 MB, free: 34.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.009879, allocations: 7.938 kB / 323.9 MB, free: 34.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009886, allocations: 4 kB / 323.9 MB, free: 34.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.009907, allocations: 0 / 323.9 MB, free: 34.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01007, allocations: 28.23 kB / 324 MB, free: 34.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01008, allocations: 4 kB / 324 MB, free: 34.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.01021, allocations: 15.88 kB / 324 MB, free: 34.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.01023, allocations: 13.02 kB / 324 MB, free: 34.4 MB / 282.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 8.244e-05/0.01031, allocations: 122 kB / 324.1 MB, free: 34.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.01036, allocations: 15.89 kB / 324.1 MB, free: 34.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.0104, allocations: 16.45 kB / 324.1 MB, free: 34.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.0104, allocations: 4 kB / 324.1 MB, free: 34.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01041, allocations: 0 / 324.1 MB, free: 34.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01041, allocations: 0 / 324.1 MB, free: 34.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01061, allocations: 141.3 kB / 324.3 MB, free: 34.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01061, allocations: 0 / 324.3 MB, free: 34.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01075, allocations: 19.92 kB / 324.3 MB, free: 34.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01075, allocations: 4 kB / 324.3 MB, free: 34.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01077, allocations: 3.938 kB / 324.3 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01077, allocations: 7.984 kB / 324.3 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01077, allocations: 4 kB / 324.3 MB, free: 34.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.01119, allocations: 221.1 kB / 324.5 MB, free: 33.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.01121, allocations: 19.91 kB / 324.6 MB, free: 33.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01124, allocations: 11.88 kB / 324.6 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.01139, allocations: 4 kB / 324.6 MB, free: 33.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.01144, allocations: 7.984 kB / 324.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01145, allocations: 4 kB / 324.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.01153, allocations: 118.8 kB / 324.7 MB, free: 33.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01153, allocations: 4 kB / 324.7 MB, free: 33.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.01194, allocations: 15.94 kB / 324.7 MB, free: 33.61 MB / 282.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.0001035/0.01204, allocations: 96.78 kB / 324.8 MB, free: 33.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01233, allocations: 63.91 kB / 324.9 MB, free: 33.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01233, allocations: 0 / 324.9 MB, free: 33.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01244, allocations: 36.22 kB / 324.9 MB, free: 33.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.0129, allocations: 27.88 kB / 324.9 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.01345, allocations: 253.7 kB / 325.2 MB, free: 33.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.01352, allocations: 90 kB / 325.3 MB, free: 33.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.0136, allocations: 16.86 kB / 325.3 MB, free: 32.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.01364, allocations: 12.5 kB / 325.3 MB, free: 32.98 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01364, allocations: 4 kB / 325.3 MB, free: 32.98 MB / 282.7 MB Notification: Performance of Templates: time 0.004327/0.01797, allocations: 1.103 MB / 326.4 MB, free: 31.89 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/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: 4.653056893032044]