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.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.001211/0.001211, allocations: 96.2 kB / 20.44 MB, free: 4.133 MB / 18.57 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.0009847/0.0009847, allocations: 165 kB / 23.81 MB, free: 0.7656 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 0.9132/0.9132, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] 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.03933/0.03933, allocations: 10.66 MB / 248.7 MB, free: 4.457 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 4 kB / 320.2 MB, free: 39.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.743e-05, allocations: 3.078 kB / 320.2 MB, free: 39.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002103/0.002131, allocations: 1.841 MB / 322.1 MB, free: 37.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.00243, allocations: 163.5 kB / 322.2 MB, free: 37.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.002517, allocations: 11.88 kB / 322.3 MB, free: 37.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.002651, allocations: 15.8 kB / 322.3 MB, free: 37.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.002793, allocations: 27.73 kB / 322.3 MB, free: 37.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.101e-05/0.002864, allocations: 47.95 kB / 322.3 MB, free: 37.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.002986, allocations: 127.6 kB / 322.5 MB, free: 37.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003101, allocations: 30.86 kB / 322.5 MB, free: 37.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.003166, allocations: 71.81 kB / 322.6 MB, free: 37.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.003244, allocations: 27.89 kB / 322.6 MB, free: 37.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.003267, allocations: 12 kB / 322.6 MB, free: 37.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.00328, allocations: 8 kB / 322.6 MB, free: 37.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.003302, allocations: 23.92 kB / 322.6 MB, free: 37.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.003329, allocations: 27.86 kB / 322.7 MB, free: 37.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003458, allocations: 83.59 kB / 322.8 MB, free: 37.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00346, allocations: 4 kB / 322.8 MB, free: 37.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.003461, allocations: 0 / 322.8 MB, free: 37.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.003467, allocations: 0 / 322.8 MB, free: 37.06 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.0003562/0.003823, allocations: 450.7 kB / 323.2 MB, free: 36.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.003857, allocations: 8.031 kB / 323.2 MB, free: 36.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.003901, allocations: 20.84 kB / 323.2 MB, free: 36.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.004055, allocations: 164.4 kB / 323.4 MB, free: 36.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.004072, allocations: 8.562 kB / 323.4 MB, free: 36.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.004096, allocations: 14.19 kB / 323.4 MB, free: 36.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.00426, allocations: 149.8 kB / 323.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004267, allocations: 0 / 323.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004278, allocations: 4 kB / 323.6 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.004285, allocations: 4 kB / 323.6 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.004344, allocations: 35.91 kB / 323.6 MB, free: 36.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.004775, allocations: 0.6713 MB / 324.3 MB, free: 35.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.00493, allocations: 113.4 kB / 324.4 MB, free: 35.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.004963, allocations: 39.11 kB / 324.4 MB, free: 35.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.004977, allocations: 4 kB / 324.4 MB, free: 35.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.004993, allocations: 45.33 kB / 324.5 MB, free: 35.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.004994, allocations: 0 / 324.5 MB, free: 35.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001741/0.005168, allocations: 81.56 kB / 324.5 MB, free: 35.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.005191, allocations: 106.8 kB / 324.6 MB, free: 34.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.005265, allocations: 213.9 kB / 324.9 MB, free: 34.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005273, allocations: 29.95 kB / 324.9 MB, free: 34.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.005317, allocations: 166.7 kB / 325 MB, free: 34.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.005331, allocations: 31.69 kB / 325.1 MB, free: 34.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.005361, allocations: 31.36 kB / 325.1 MB, free: 34.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.005401, allocations: 0.4923 MB / 325.6 MB, free: 33.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.005423, allocations: 8.875 kB / 325.6 MB, free: 33.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.005468, allocations: 132.9 kB / 325.7 MB, free: 33.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.005529, allocations: 90.27 kB / 325.8 MB, free: 33.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005531, allocations: 0 / 325.8 MB, free: 33.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.477e-05/0.005615, allocations: 97.52 kB / 325.9 MB, free: 33.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005627, allocations: 9.812 kB / 325.9 MB, free: 33.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005631, allocations: 4 kB / 325.9 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005643, allocations: 0 / 325.9 MB, free: 33.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.005723, allocations: 28.12 kB / 326 MB, free: 33.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.005729, allocations: 4 kB / 326 MB, free: 33.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.005764, allocations: 15.95 kB / 326 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.005773, allocations: 5.016 kB / 326 MB, free: 33.47 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 4.87e-05/0.005822, allocations: 160.5 kB / 326.1 MB, free: 33.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.00584, allocations: 15.89 kB / 326.2 MB, free: 33.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.005863, allocations: 16.45 kB / 326.2 MB, free: 33.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005864, allocations: 0 / 326.2 MB, free: 33.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.005868, allocations: 4 kB / 326.2 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005872, allocations: 0 / 326.2 MB, free: 33.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.005965, allocations: 148.5 kB / 326.3 MB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.005968, allocations: 8 kB / 326.3 MB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.006015, allocations: 11.98 kB / 326.3 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006017, allocations: 4 kB / 326.4 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.006026, allocations: 3.938 kB / 326.4 MB, free: 33.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006028, allocations: 3.938 kB / 326.4 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006029, allocations: 4 kB / 326.4 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.006619, allocations: 1.551 MB / 327.9 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.006626, allocations: 11.89 kB / 327.9 MB, free: 31.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.006634, allocations: 4 kB / 327.9 MB, free: 31.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.006676, allocations: 0 / 327.9 MB, free: 31.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.006714, allocations: 11.98 kB / 327.9 MB, free: 31.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.006718, allocations: 0 / 327.9 MB, free: 31.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.006756, allocations: 154.6 kB / 328.1 MB, free: 31.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006756, allocations: 0 / 328.1 MB, free: 31.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.006957, allocations: 31.83 kB / 328.1 MB, free: 31.17 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 5.82e-05/0.007015, allocations: 92.34 kB / 328.2 MB, free: 31.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.007115, allocations: 67.55 kB / 328.3 MB, free: 31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007116, allocations: 0 / 328.3 MB, free: 31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.007139, allocations: 19.69 kB / 328.3 MB, free: 30.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.00736, allocations: 33.83 kB / 328.3 MB, free: 30.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.007713, allocations: 415.8 kB / 328.7 MB, free: 30.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.579e-05/0.007739, allocations: 64.47 kB / 328.8 MB, free: 30.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.007774, allocations: 16.48 kB / 328.8 MB, free: 30.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.007802, allocations: 12.5 kB / 328.8 MB, free: 30.38 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007803, allocations: 0 / 328.8 MB, free: 30.38 MB / 282.7 MB Notification: Performance of Templates: time 0.002706/0.01051, allocations: 1.205 MB / 330 MB, free: 29.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7472415757365525]