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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 103.3 kB / 16.28 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 189.4 kB / 17.2 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.1013/0.1013, allocations: 14.17 MB / 284.6 MB, free: 13.94 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 75.89 kB / 347.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2296, allocations: 50.13 MB / 398 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.003083/0.2327, allocations: 1.815 MB / 399.8 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.2331, allocations: 171.5 kB / 400 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2333, allocations: 6.812 kB / 400 MB, free: 46.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2334, allocations: 25.48 kB / 400 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2335, allocations: 23.11 kB / 400 MB, free: 46.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.792e-05/0.2336, allocations: 45.06 kB / 400.1 MB, free: 46.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.2338, allocations: 120.6 kB / 400.2 MB, free: 46.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2339, allocations: 54.38 kB / 400.2 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.234, allocations: 48.55 kB / 400.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.2341, allocations: 42.06 kB / 400.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2341, allocations: 12.67 kB / 400.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.2341, allocations: 12.59 kB / 400.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.2342, allocations: 27.23 kB / 400.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.2342, allocations: 46.14 kB / 400.4 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2344, allocations: 103.8 kB / 400.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2344, allocations: 0 / 400.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2344, allocations: 0 / 400.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2344, allocations: 1.125 kB / 400.5 MB, free: 46.59 MB / 318.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.0004659/0.2349, allocations: 424.6 kB / 400.9 MB, free: 46.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2349, allocations: 13.72 kB / 400.9 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.2349, allocations: 15.03 kB / 401 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2351, allocations: 212.4 kB / 401.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2351, allocations: 9.094 kB / 401.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2352, allocations: 15 kB / 401.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.2354, allocations: 132.6 kB / 401.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2354, allocations: 5.219 kB / 401.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2354, allocations: 5.25 kB / 401.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2355, allocations: 2.562 kB / 401.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.2356, allocations: 67.17 kB / 401.4 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.2362, allocations: 0.6078 MB / 402 MB, free: 45.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2364, allocations: 105.6 kB / 402.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.2365, allocations: 42.44 kB / 402.1 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.2365, allocations: 1.844 kB / 402.2 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.2366, allocations: 40.34 kB / 402.2 MB, free: 44.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.2366, allocations: 4 kB / 402.2 MB, free: 44.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003421/0.2369, allocations: 113.6 kB / 402.3 MB, free: 44.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.237, allocations: 109 kB / 402.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2371, allocations: 150.7 kB / 402.6 MB, free: 44.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2371, allocations: 31.08 kB / 402.6 MB, free: 44.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.2371, allocations: 126.6 kB / 402.7 MB, free: 44.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2372, allocations: 19.41 kB / 402.7 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2372, allocations: 29.42 kB / 402.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.2373, allocations: 321.5 kB / 403.1 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.2374, allocations: 23.86 kB / 403.1 MB, free: 44.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.2375, allocations: 72.84 kB / 403.2 MB, free: 44.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2376, allocations: 97.47 kB / 403.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2376, allocations: 4.031 kB / 403.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.2379, allocations: 122.9 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2379, allocations: 5.469 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2379, allocations: 1.438 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2379, allocations: 2.656 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2381, allocations: 22.61 kB / 403.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2381, allocations: 10.84 kB / 403.4 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.2382, allocations: 9.453 kB / 403.4 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2382, allocations: 3.938 kB / 403.4 MB, free: 43.84 MB / 318.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 6.342e-05/0.2382, allocations: 127.8 kB / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.2383, allocations: 12.47 kB / 403.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.2383, allocations: 19.08 kB / 403.6 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2383, allocations: 2.438 kB / 403.6 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2383, allocations: 1.312 kB / 403.6 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2383, allocations: 0 / 403.6 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2385, allocations: 216.2 kB / 403.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2385, allocations: 1.375 kB / 403.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.2386, allocations: 20.42 kB / 403.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2386, allocations: 1.375 kB / 403.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2387, allocations: 5.156 kB / 403.8 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2387, allocations: 1.094 kB / 403.8 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2387, allocations: 1.344 kB / 403.8 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2397, allocations: 1.379 MB / 405.2 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.2397, allocations: 84.8 kB / 405.3 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2397, allocations: 9.062 kB / 405.3 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.2398, allocations: 4.125 kB / 405.3 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.2399, allocations: 7.516 kB / 405.3 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2399, allocations: 1.312 kB / 405.3 MB, free: 41.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.464e-05/0.24, allocations: 118.3 kB / 405.4 MB, free: 41.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.24, allocations: 0.9688 kB / 405.4 MB, free: 41.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.2403, allocations: 20.97 kB / 405.5 MB, free: 41.86 MB / 318.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 7.628e-05/0.2404, allocations: 97.66 kB / 405.6 MB, free: 41.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.2406, allocations: 70.39 kB / 405.6 MB, free: 41.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2406, allocations: 320 / 405.6 MB, free: 41.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.2407, allocations: 35.02 kB / 405.7 MB, free: 41.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2411, allocations: 26.7 kB / 405.7 MB, free: 41.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.2416, allocations: 365.6 kB / 406 MB, free: 41.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2417, allocations: 0.7109 MB / 406.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.2418, allocations: 13.8 kB / 406.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2418, allocations: 14 kB / 406.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2418, allocations: 0 / 406.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of Templates: time 0.003074/0.2449, allocations: 1.015 MB / 407.8 MB, free: 40.12 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.makefile (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) 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) Reference file matches