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.0009593/0.0009597, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.35/1.35, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06172/0.06172, allocations: 14.16 MB / 285.6 MB, free: 7.035 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.0004837/0.0004837, allocations: 12.55 kB / 347.4 MB, free: 19.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07715, allocations: 51.12 MB / 398.5 MB, free: 400 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0005212/0.07771, allocations: 217.1 kB / 398.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.07804, allocations: 123.5 kB / 398.9 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.073e-05/0.07806, allocations: 0 / 398.9 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.07808, allocations: 0 / 398.9 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.07829, allocations: 19.92 kB / 398.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.474e-06/0.0783, allocations: 4 kB / 398.9 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.194e-05/0.07833, allocations: 0 / 398.9 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.07837, allocations: 7.984 kB / 398.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.056e-05/0.07839, allocations: 0 / 398.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.07849, allocations: 8 kB / 398.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-06/0.07851, allocations: 0 / 398.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-06/0.07851, allocations: 0 / 398.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.07853, allocations: 3.984 kB / 398.9 MB, free: 20 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.07856, allocations: 29.64 kB / 398.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 1.839e-05/0.07859, allocations: 0 / 398.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.0786, allocations: 4 kB / 398.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07861, allocations: 0 / 398.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.07861, allocations: 0 / 398.9 MB, free: 15.98 MB / 302.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.0002183/0.07884, allocations: 319.6 kB / 399.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.07888, allocations: 8.031 kB / 399.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.07891, allocations: 0.9375 kB / 399.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.397e-05/0.079, allocations: 160.4 kB / 399.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.07901, allocations: 4.375 kB / 399.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.07903, allocations: 384 / 399.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.07912, allocations: 51.92 kB / 399.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.07914, allocations: 192 / 399.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.07915, allocations: 3.938 kB / 399.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.07916, allocations: 0 / 399.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.07919, allocations: 11.98 kB / 399.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.0795, allocations: 463.7 kB / 399.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.07958, allocations: 169.1 kB / 400.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.07962, allocations: 84.12 kB / 400.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.07966, allocations: 75.28 kB / 400.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.0797, allocations: 105.8 kB / 400.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.0797, allocations: 4 kB / 400.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.166e-05/0.07977, allocations: 37.64 kB / 400.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.07983, allocations: 126.7 kB / 400.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.07991, allocations: 97.77 kB / 400.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.07992, allocations: 25.7 kB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.07997, allocations: 88.34 kB / 400.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.07998, allocations: 0 / 400.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.08001, allocations: 13.72 kB / 400.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.08011, allocations: 318.9 kB / 401 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.08013, allocations: 4 kB / 401.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.08015, allocations: 13.66 kB / 401.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.08018, allocations: 17.66 kB / 401.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.08019, allocations: 3.938 kB / 401.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.08029, allocations: 49.66 kB / 401.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.08032, allocations: 8 kB / 401.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.08032, allocations: 3.938 kB / 401.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.08034, allocations: 3.984 kB / 401.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.08039, allocations: 4 kB / 401.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.0804, allocations: 0 / 401.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.08042, allocations: 0 / 401.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.08043, allocations: 0 / 401.2 MB, free: 13.5 MB / 302.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 9.208e-05/0.08053, allocations: 194.2 kB / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.08059, allocations: 109 kB / 401.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.08064, allocations: 112 kB / 401.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-05/0.0807, allocations: 180.3 kB / 401.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-05/0.08077, allocations: 176.3 kB / 401.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/0.08083, allocations: 180.2 kB / 402.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.08103, allocations: 413.2 kB / 402.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.08107, allocations: 104.9 kB / 402.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.08111, allocations: 101 kB / 402.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.802e-05/0.08117, allocations: 180.2 kB / 402.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.08123, allocations: 188.3 kB / 403 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.536e-05/0.08129, allocations: 176.3 kB / 403.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.754e-05/0.08136, allocations: 188.2 kB / 403.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.08148, allocations: 303.9 kB / 403.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.08156, allocations: 182.1 kB / 403.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.08163, allocations: 188.3 kB / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.0817, allocations: 108.9 kB / 404.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.08176, allocations: 176.3 kB / 404.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.0818, allocations: 108.9 kB / 404.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.08184, allocations: 79.28 kB / 404.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.08184, allocations: 0 / 404.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.08205, allocations: 0 / 404.5 MB, free: 9.902 MB / 302.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 8.826e-05/0.08215, allocations: 174.6 kB / 404.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.563e-05/0.0822, allocations: 8 kB / 404.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.08221, allocations: 0 / 404.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.08221, allocations: 3.938 kB / 404.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.08257, allocations: 0.5223 MB / 405.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.08275, allocations: 191.8 kB / 405.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.08296, allocations: 0.6692 MB / 406.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.08299, allocations: 7.438 kB / 406.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08299, allocations: 0 / 406.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Templates: time 0.001284/0.08428, allocations: 335.9 kB / 406.4 MB, free: 7.93 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches