Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001651/0.001651, allocations: 192 kB / 17.31 MB, free: 5.18 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.672/1.672, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06571/0.06571, allocations: 14.18 MB / 284.7 MB, free: 13.87 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.001806/0.001807, allocations: 67.89 kB / 346.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3505, allocations: 50.12 MB / 396.6 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002718/0.3533, allocations: 496 kB / 397.1 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.3537, allocations: 120.9 kB / 397.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.3538, allocations: 0 / 397.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.3538, allocations: 0 / 397.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3542, allocations: 19.42 kB / 397.3 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.581e-06/0.3542, allocations: 0 / 397.3 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.3542, allocations: 3.984 kB / 397.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.3543, allocations: 5.812 kB / 397.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.3543, allocations: 1.844 kB / 397.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3545, allocations: 10.05 kB / 397.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.3545, allocations: 3.938 kB / 397.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.3545, allocations: 3.938 kB / 397.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3545, allocations: 4 kB / 397.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.3545, allocations: 5.938 kB / 397.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.456e-05/0.3546, allocations: 3.984 kB / 397.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3546, allocations: 0 / 397.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3546, allocations: 0 / 397.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3546, allocations: 1.906 kB / 397.3 MB, free: 47.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002878/0.3549, allocations: 309.4 kB / 397.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.355, allocations: 9.406 kB / 397.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.355, allocations: 1.969 kB / 397.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.3551, allocations: 164.4 kB / 397.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3551, allocations: 9.469 kB / 397.8 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3551, allocations: 1.656 kB / 397.8 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3553, allocations: 38.95 kB / 397.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3553, allocations: 192 / 397.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3553, allocations: 4.844 kB / 397.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3553, allocations: 0 / 397.8 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.3554, allocations: 7 kB / 397.8 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.3558, allocations: 468 kB / 398.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.3559, allocations: 178.6 kB / 398.5 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.3559, allocations: 84.08 kB / 398.6 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3559, allocations: 75.28 kB / 398.6 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.356, allocations: 111.2 kB / 398.7 MB, free: 46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.356, allocations: 0 / 398.7 MB, free: 46 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.074e-05/0.3561, allocations: 31.28 kB / 398.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3561, allocations: 130.7 kB / 398.9 MB, free: 45.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.3562, allocations: 96.7 kB / 399 MB, free: 45.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.3562, allocations: 25.7 kB / 399 MB, free: 45.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.3562, allocations: 93.44 kB / 399.1 MB, free: 45.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.3563, allocations: 0 / 399.1 MB, free: 45.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.3563, allocations: 20.5 kB / 399.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.3564, allocations: 316 kB / 399.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.3564, allocations: 1.125 kB / 399.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.3564, allocations: 12.16 kB / 399.4 MB, free: 45.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.3564, allocations: 17 kB / 399.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3565, allocations: 3.938 kB / 399.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000107/0.3566, allocations: 42.42 kB / 399.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3566, allocations: 4.656 kB / 399.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3566, allocations: 1.531 kB / 399.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3566, allocations: 3.984 kB / 399.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.3567, allocations: 4.281 kB / 399.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3567, allocations: 3.938 kB / 399.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.3567, allocations: 5.25 kB / 399.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3567, allocations: 5.531 kB / 399.5 MB, free: 45.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.746e-05/0.3568, allocations: 189.8 kB / 399.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.3569, allocations: 110 kB / 399.8 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.3569, allocations: 105.2 kB / 399.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/0.357, allocations: 185.4 kB / 400.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.452e-05/0.357, allocations: 183.6 kB / 400.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/0.3571, allocations: 177.4 kB / 400.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3573, allocations: 414.2 kB / 400.9 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.3574, allocations: 102.1 kB / 401 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.3574, allocations: 106.1 kB / 401.1 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.995e-05/0.3575, allocations: 177.7 kB / 401.2 MB, free: 43.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.3575, allocations: 181.3 kB / 401.4 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-05/0.3576, allocations: 180.2 kB / 401.6 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.688e-05/0.3577, allocations: 189.6 kB / 401.8 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3578, allocations: 303.2 kB / 402.1 MB, free: 42.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.3579, allocations: 187.6 kB / 402.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.181e-05/0.358, allocations: 189.5 kB / 402.4 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.358, allocations: 102.4 kB / 402.5 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.3581, allocations: 180.2 kB / 402.7 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.3581, allocations: 102.1 kB / 402.8 MB, free: 41.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.3582, allocations: 78.03 kB / 402.9 MB, free: 41.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3582, allocations: 4.094 kB / 402.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3584, allocations: 1.25 kB / 402.9 MB, free: 41.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0001452/0.3586, allocations: 169 kB / 403.1 MB, free: 41.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3587, allocations: 11.81 kB / 403.1 MB, free: 41.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3587, allocations: 0 / 403.1 MB, free: 41.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.3587, allocations: 1.438 kB / 403.1 MB, free: 41.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3591, allocations: 461.2 kB / 403.5 MB, free: 40.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3594, allocations: 149.6 kB / 403.7 MB, free: 40.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3596, allocations: 0.6738 MB / 404.4 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.954e-05/0.3597, allocations: 1.094 kB / 404.4 MB, free: 40.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.3597, allocations: 8.531 kB / 404.4 MB, free: 40.1 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3597, allocations: 0 / 404.4 MB, free: 40.1 MB / 318.1 MB Notification: Performance of Templates: time 0.002306/0.362, allocations: 176.1 kB / 404.5 MB, free: 40 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches