Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_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.001038/0.001038, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.0009876/0.0009876, allocations: 184.5 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07659/0.07659, allocations: 16.78 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 427.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08793, allocations: 53.56 MB / 480.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001362/0.08931, allocations: 489 kB / 481.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.08962, allocations: 115.6 kB / 481.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.08965, allocations: 3.938 kB / 481.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.08967, allocations: 3.938 kB / 481.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.08992, allocations: 23.91 kB / 481.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.08993, allocations: 0 / 481.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.972e-05/0.08996, allocations: 8 kB / 481.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.09001, allocations: 4.328 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-06/0.09002, allocations: 0 / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.09012, allocations: 11.98 kB / 481.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.09013, allocations: 4 kB / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-06/0.09014, allocations: 0 / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.09015, allocations: 0 / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.09017, allocations: 0 / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.357e-05/0.0902, allocations: 11.92 kB / 481.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.09021, allocations: 4 kB / 481.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09022, allocations: 0 / 481.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.09023, allocations: 0 / 481.5 MB, free: 4.344 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002322/0.09046, allocations: 307.6 kB / 481.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.0905, allocations: 8.031 kB / 481.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.09053, allocations: 8.922 kB / 481.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.599e-05/0.09063, allocations: 164.4 kB / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.09065, allocations: 4.312 kB / 481.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.09066, allocations: 384 / 481.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.09076, allocations: 43.98 kB / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.09077, allocations: 192 / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.09078, allocations: 3.938 kB / 482 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.09079, allocations: 4 kB / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.09082, allocations: 4 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.09113, allocations: 467.6 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.09121, allocations: 173.1 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.09125, allocations: 80.14 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.09128, allocations: 79.28 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.09132, allocations: 109.8 kB / 482.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.09133, allocations: 3.938 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.975e-05/0.09139, allocations: 25.7 kB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.09143, allocations: 55.34 kB / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.09151, allocations: 97.86 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.09153, allocations: 29.83 kB / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.09158, allocations: 87.98 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.09158, allocations: 4 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.09161, allocations: 13.7 kB / 483.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.09173, allocations: 314.8 kB / 483.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.09175, allocations: 4 kB / 483.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.09176, allocations: 13.66 kB / 483.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.0918, allocations: 21.72 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.0918, allocations: 0 / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.915e-05/0.0919, allocations: 45.62 kB / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.09192, allocations: 11.94 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.09193, allocations: 0 / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.09194, allocations: 0 / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.567e-05/0.09199, allocations: 4 kB / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.092, allocations: 0 / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.09202, allocations: 4.062 kB / 483.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.09203, allocations: 4 kB / 483.6 MB, free: 1.941 MB / 350.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.59e-05/0.09212, allocations: 185.1 kB / 483.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.09219, allocations: 105 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.09223, allocations: 112 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/0.0923, allocations: 180.3 kB / 484.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.09234, allocations: 105 kB / 484.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.09241, allocations: 185.9 kB / 484.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.09249, allocations: 184.2 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.09257, allocations: 104.9 kB / 484.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.09264, allocations: 184.2 kB / 484.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.611e-05/0.09273, allocations: 259.5 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001613/0.0929, allocations: 383.1 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.772e-05/0.09295, allocations: 108.9 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.09299, allocations: 75.28 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Backend: time 2.91e-07/0.09299, allocations: 0 / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.09329, allocations: 80.69 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 0.0004039/0.0937, allocations: 0.8271 MB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.001632/0.09534, allocations: 193.4 kB / 486.8 MB, free: 14.54 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches