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.001304/0.001304, allocations: 96.34 kB / 19.7 MB, free: 1.801 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.001501/0.001501, allocations: 211.2 kB / 22.99 MB, free: 4.613 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.613/1.613, 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.07551/0.07551, allocations: 14.39 MB / 300.5 MB, free: 7.25 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_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: 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.002418/0.002418, allocations: 72.36 kB / 424.2 MB, free: 36.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1151, allocations: 52.89 MB / 477.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003596/0.1187, allocations: 1.776 MB / 478.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005072/0.1192, allocations: 171.5 kB / 479 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1194, allocations: 7.938 kB / 479.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1195, allocations: 19.8 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1197, allocations: 27.78 kB / 479.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.1198, allocations: 47.89 kB / 479.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1201, allocations: 123.7 kB / 479.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1203, allocations: 41.44 kB / 479.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.1203, allocations: 47.8 kB / 479.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1205, allocations: 51.64 kB / 479.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1205, allocations: 8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.1205, allocations: 8 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.1206, allocations: 19.94 kB / 479.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1206, allocations: 35.8 kB / 479.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1208, allocations: 115.4 kB / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1208, allocations: 0 / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1208, allocations: 0 / 479.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1208, 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.0006536/0.1215, allocations: 346 kB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1215, allocations: 8.031 kB / 479.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1216, allocations: 16.84 kB / 480 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1219, allocations: 158.3 kB / 480.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1219, allocations: 12.56 kB / 480.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.122, allocations: 8.375 kB / 480.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.1223, allocations: 138.2 kB / 480.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1223, allocations: 0 / 480.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1223, allocations: 4 kB / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1224, allocations: 7.938 kB / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1226, allocations: 73.14 kB / 480.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.1234, allocations: 0.5169 MB / 480.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1238, allocations: 103.9 kB / 481 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1239, allocations: 42.62 kB / 481 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1239, allocations: 3.938 kB / 481 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.124, allocations: 38.56 kB / 481 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.124, allocations: 0 / 481 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.1245, allocations: 117.5 kB / 481.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1246, allocations: 102.8 kB / 481.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1248, allocations: 151.1 kB / 481.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1248, allocations: 29.7 kB / 481.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.125, allocations: 127.8 kB / 481.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.125, allocations: 27.8 kB / 481.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.125, allocations: 25.7 kB / 481.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1253, allocations: 319.1 kB / 481.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.1253, allocations: 35.92 kB / 482 MB, free: 10.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1255, allocations: 91.7 kB / 482.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1257, allocations: 89.06 kB / 482.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1258, allocations: 32 / 482.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002973/0.126, allocations: 129.7 kB / 482.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.1261, allocations: 8 kB / 482.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1261, allocations: 0 / 482.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.1261, allocations: 4 kB / 482.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1263, allocations: 35.91 kB / 482.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1263, allocations: 0 / 482.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.1264, allocations: 16.05 kB / 482.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1264, allocations: 8 kB / 482.3 MB, free: 9.723 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.0001884/0.1266, allocations: 121.8 kB / 482.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1266, allocations: 7.953 kB / 482.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.1267, allocations: 20.39 kB / 482.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1267, allocations: 4 kB / 482.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1267, allocations: 3.938 kB / 482.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.1267, allocations: 0 / 482.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1269, allocations: 137.3 kB / 482.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.1269, allocations: 7.922 kB / 482.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1271, allocations: 16 kB / 482.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.1271, allocations: 7.984 kB / 482.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1271, allocations: 0 / 482.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1271, allocations: 0 / 482.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1271, allocations: 4 kB / 482.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.1289, allocations: 1.23 MB / 483.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.1289, allocations: 19.91 kB / 483.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1289, allocations: 4 kB / 483.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.129, allocations: 0 / 483.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.1291, allocations: 11.92 kB / 483.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1291, allocations: 12 kB / 483.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1292, allocations: 115.9 kB / 484 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1292, allocations: 4 kB / 484.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.1295, allocations: 31.83 kB / 484.1 MB, free: 7.82 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 0.0001431/0.1297, allocations: 95.34 kB / 484.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.13, allocations: 63.89 kB / 484.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.13, allocations: 4 kB / 484.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1301, allocations: 27.92 kB / 484.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1304, allocations: 24.42 kB / 484.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.1311, allocations: 376 kB / 484.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1312, allocations: 93.17 kB / 484.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.1313, allocations: 16.53 kB / 484.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.1313, allocations: 19.36 kB / 484.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1313, allocations: 0 / 484.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Templates: time 0.004404/0.1357, allocations: 1.154 MB / 485.9 MB, free: 5.902 MB / 350.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.984162038192153]