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.001289/0.001289, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001391/0.001391, allocations: 159.9 kB / 22.46 MB, free: 5.375 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.329/1.329, allocations: 158.6 MB / 184.2 MB, free: 6.387 MB / 174.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.06282/0.06282, allocations: 10.65 MB / 247.1 MB, free: 8.484 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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 371 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.614e-05, allocations: 6.219 kB / 371 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003527/0.003563, allocations: 1.767 MB / 372.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005757/0.004139, allocations: 163.5 kB / 372.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.004319, allocations: 7.938 kB / 372.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.004516, allocations: 23.73 kB / 372.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.004726, allocations: 31.78 kB / 373 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.004868, allocations: 51.83 kB / 373 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.005182, allocations: 123.6 kB / 373.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.00544, allocations: 41.5 kB / 373.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.005617, allocations: 67.88 kB / 373.2 MB, free: 8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.00579, allocations: 35.83 kB / 373.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.005836, allocations: 8 kB / 373.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.526e-05/0.005862, allocations: 8 kB / 373.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.005908, allocations: 19.92 kB / 373.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.005971, allocations: 27.92 kB / 373.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.006264, allocations: 115.6 kB / 373.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006269, allocations: 3.938 kB / 373.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.00627, allocations: 0 / 373.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.006279, allocations: 0 / 373.5 MB, free: 7.785 MB / 302.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.0009751/0.007254, allocations: 342 kB / 373.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.007314, allocations: 11.97 kB / 373.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.85e-05/0.007412, allocations: 16.84 kB / 373.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.007858, allocations: 165.5 kB / 374 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.007881, allocations: 8.562 kB / 374 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.007919, allocations: 16.31 kB / 374 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.008233, allocations: 135 kB / 374.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008245, allocations: 0 / 374.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.008261, allocations: 3.938 kB / 374.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.008269, allocations: 4 kB / 374.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.008479, allocations: 59.91 kB / 374.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.009264, allocations: 0.5171 MB / 374.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.009559, allocations: 108 kB / 374.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.009666, allocations: 38.61 kB / 374.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.009682, allocations: 8 kB / 374.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.009718, allocations: 42.44 kB / 374.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.009719, allocations: 0 / 374.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000412/0.01013, allocations: 113.5 kB / 375 MB, free: 6.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.01021, allocations: 106.8 kB / 375.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01036, allocations: 154.4 kB / 375.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.01039, allocations: 29.7 kB / 375.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.01048, allocations: 119.9 kB / 375.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.01051, allocations: 31.72 kB / 375.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.01056, allocations: 21.72 kB / 375.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.01071, allocations: 322.8 kB / 375.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.372e-05/0.0108, allocations: 24.23 kB / 375.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.01094, allocations: 103.6 kB / 375.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.01117, allocations: 93.06 kB / 376 MB, free: 4.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01117, allocations: 0 / 376 MB, free: 4.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002816/0.01146, allocations: 129.4 kB / 376.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01147, allocations: 11.94 kB / 376.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01148, allocations: 320 / 376.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01149, allocations: 0 / 376.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.01163, allocations: 27.92 kB / 376.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.01165, allocations: 8 kB / 376.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.01173, allocations: 11.94 kB / 376.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01174, allocations: 12.16 kB / 376.2 MB, free: 4.746 MB / 302.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.0001159/0.01186, allocations: 119.8 kB / 376.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.0119, allocations: 15.89 kB / 376.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.01194, allocations: 12.47 kB / 376.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01194, allocations: 3.984 kB / 376.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01194, allocations: 0 / 376.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01195, allocations: 4 kB / 376.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.01215, allocations: 141.2 kB / 376.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01215, allocations: 0 / 376.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01226, allocations: 19.92 kB / 376.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01227, allocations: 4 kB / 376.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01228, allocations: 11.88 kB / 376.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01228, allocations: 0 / 376.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01228, allocations: 0 / 376.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.01269, allocations: 225.1 kB / 376.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01271, allocations: 11.98 kB / 376.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01274, allocations: 7.938 kB / 376.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01285, allocations: 7.984 kB / 376.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.01289, allocations: 11.98 kB / 376.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.0129, allocations: 8 kB / 376.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.01299, allocations: 107.3 kB / 376.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01299, allocations: 0 / 376.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000256/0.01325, allocations: 19.95 kB / 376.9 MB, free: 3.973 MB / 302.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 0.0001016/0.01335, allocations: 95.23 kB / 377 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.01361, allocations: 68.2 kB / 377.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01361, allocations: 4 kB / 377.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01372, allocations: 27.92 kB / 377.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01404, allocations: 38.48 kB / 377.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01465, allocations: 247.7 kB / 377.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.01475, allocations: 97.23 kB / 377.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.01482, allocations: 16.48 kB / 377.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.01486, allocations: 12.5 kB / 377.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01486, allocations: 0 / 377.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of Templates: time 0.004449/0.01931, allocations: 1.05 MB / 378.6 MB, free: 2.293 MB / 302.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/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.181106269359589]