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.009925/0.009925, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.002295/0.002295, allocations: 193 kB / 16.67 MB, free: 5.969 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.603/1.603, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.08225/0.08225, allocations: 14.16 MB / 284.1 MB, free: 6.988 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.001453/0.001453, allocations: 64.45 kB / 396.5 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3006, allocations: 50.13 MB / 446.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002113/0.3028, allocations: 491.8 kB / 447.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.3033, allocations: 114.1 kB / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.3033, allocations: 0 / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.3034, allocations: 0 / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.3038, allocations: 27.25 kB / 447.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.971e-06/0.3038, allocations: 4 kB / 447.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.3038, allocations: 8.969 kB / 447.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.3039, allocations: 2.25 kB / 447.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.3039, allocations: 0 / 447.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3041, allocations: 11.89 kB / 447.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.3041, allocations: 0 / 447.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-06/0.3041, allocations: 0 / 447.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.3041, allocations: 3.984 kB / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.3042, allocations: 1.094 kB / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.976e-05/0.3042, allocations: 7.938 kB / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3043, allocations: 0.9062 kB / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3043, allocations: 0 / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3043, allocations: 0 / 447.2 MB, free: 1.641 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.0003946/0.3047, allocations: 314.9 kB / 447.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.3047, allocations: 10.19 kB / 447.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3048, allocations: 0.9375 kB / 447.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3049, allocations: 161.4 kB / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3049, allocations: 384 / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.305, allocations: 1.312 kB / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3051, allocations: 52.45 kB / 447.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3052, allocations: 192 / 447.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3052, allocations: 3.938 kB / 447.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3052, allocations: 1.031 kB / 447.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.3052, allocations: 2.094 kB / 447.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.3056, allocations: 470.9 kB / 448.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.3057, allocations: 170.1 kB / 448.4 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.3057, allocations: 92.16 kB / 448.5 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.3058, allocations: 80.25 kB / 448.6 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3058, allocations: 115.4 kB / 448.7 MB, free: 52 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3058, allocations: 0 / 448.7 MB, free: 52 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.908e-05/0.3059, allocations: 29.64 kB / 448.7 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3061, allocations: 127.5 kB / 448.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3062, allocations: 96.8 kB / 448.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3062, allocations: 25.7 kB / 449 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.3063, allocations: 89.38 kB / 449 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.3063, allocations: 0 / 449 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.3064, allocations: 24.12 kB / 449.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3065, allocations: 311.8 kB / 449.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.3065, allocations: 4.938 kB / 449.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.3066, allocations: 16.16 kB / 449.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.3066, allocations: 17.22 kB / 449.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3066, allocations: 8 kB / 449.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001365/0.3068, allocations: 38.62 kB / 449.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3068, allocations: 10 kB / 449.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3068, allocations: 0 / 449.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3068, allocations: 1.094 kB / 449.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.3069, allocations: 6.719 kB / 449.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3069, allocations: 4.969 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.307, allocations: 1.125 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.307, allocations: 1.688 kB / 449.5 MB, free: 15.22 MB / 334.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 0.0001415/0.3071, allocations: 190.2 kB / 449.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.3072, allocations: 102.3 kB / 449.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/0.3073, allocations: 109.5 kB / 449.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.3074, allocations: 180.2 kB / 450.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.122e-05/0.3075, allocations: 181.5 kB / 450.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/0.3076, allocations: 185.3 kB / 450.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3079, allocations: 402.2 kB / 450.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.187e-05/0.3079, allocations: 106 kB / 450.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.308, allocations: 102.1 kB / 451 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.286e-05/0.3081, allocations: 181.5 kB / 451.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/0.3082, allocations: 185.2 kB / 451.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.312e-05/0.3083, allocations: 181.2 kB / 451.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.084e-05/0.3084, allocations: 181.3 kB / 451.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3086, allocations: 306.8 kB / 452 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3087, allocations: 187.8 kB / 452.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.3088, allocations: 182.2 kB / 452.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.3089, allocations: 104.9 kB / 452.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.309, allocations: 178.1 kB / 452.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.309, allocations: 105 kB / 452.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.3091, allocations: 81.08 kB / 452.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3091, allocations: 0 / 452.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3094, allocations: 1.781 kB / 452.8 MB, free: 11.67 MB / 334.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.000111/0.3095, allocations: 177.3 kB / 453 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.3096, allocations: 3.75 kB / 453 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3096, allocations: 1.781 kB / 453 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3096, allocations: 0 / 453 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.3101, allocations: 461.6 kB / 453.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.3103, allocations: 165.5 kB / 453.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3106, allocations: 0.6728 MB / 454.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.3106, allocations: 5.719 kB / 454.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.3106, allocations: 7.438 kB / 454.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3106, allocations: 0 / 454.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.00217/0.3128, allocations: 180.9 kB / 454.5 MB, free: 10.04 MB / 334.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 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches