Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_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.001593/0.001594, allocations: 107.9 kB / 16.41 MB, free: 6.465 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.001623/0.001624, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06065/0.06065, allocations: 14.17 MB / 284.7 MB, free: 13.85 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.001344/0.001344, allocations: 61.83 kB / 397.1 MB, free: 43.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.0913, allocations: 50.14 MB / 447.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001565/0.09292, allocations: 492.8 kB / 447.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000358/0.09329, allocations: 115.7 kB / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.09333, allocations: 0 / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.09336, allocations: 0 / 447.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.09366, allocations: 23.92 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.09367, allocations: 0 / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.809e-05/0.09371, allocations: 11.92 kB / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.09377, allocations: 352 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.09379, allocations: 0 / 447.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.09391, allocations: 11.94 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.09392, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.09393, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.09394, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.202e-05/0.09395, allocations: 3.984 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.06e-05/0.094, allocations: 4 kB / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.09401, allocations: 0 / 447.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.09402, allocations: 4 kB / 447.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.09403, allocations: 0 / 447.9 MB, free: 13.04 MB / 334.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.0002857/0.09432, allocations: 315.5 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.09437, allocations: 12.06 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.0944, allocations: 0.9375 kB / 448.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.09451, allocations: 160.4 kB / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.09453, allocations: 384 / 448.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.09454, allocations: 8.312 kB / 448.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.09466, allocations: 55.91 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.09468, allocations: 192 / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.0947, allocations: 7.938 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09471, allocations: 0 / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.09473, allocations: 0 / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.09508, allocations: 463.7 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.09517, allocations: 177.1 kB / 449.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.09521, allocations: 80.14 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.09524, allocations: 79.28 kB / 449.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.0953, allocations: 113.8 kB / 449.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.09531, allocations: 0 / 449.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.907e-05/0.09538, allocations: 29.64 kB / 449.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.09545, allocations: 126.7 kB / 449.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.09554, allocations: 97.84 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.09556, allocations: 25.7 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.09561, allocations: 92.09 kB / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.09562, allocations: 128 / 449.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.09565, allocations: 17.67 kB / 449.7 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.09578, allocations: 310.8 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-06/0.0958, allocations: 4 kB / 450 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.09581, allocations: 13.72 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.09585, allocations: 21.64 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.09586, allocations: 8 kB / 450.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.192e-05/0.09596, allocations: 33.7 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.09598, allocations: 8 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.09599, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.09601, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.09606, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.09608, allocations: 3.938 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.0961, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.09611, allocations: 7.984 kB / 450.2 MB, free: 10.56 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 9.874e-05/0.09621, allocations: 193.1 kB / 450.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.09627, allocations: 101 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.09634, allocations: 108.1 kB / 450.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.09641, allocations: 180.2 kB / 450.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.477e-05/0.0965, allocations: 188.2 kB / 450.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/0.09657, allocations: 184.2 kB / 451.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.09681, allocations: 405.2 kB / 451.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-05/0.09687, allocations: 101 kB / 451.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.09691, allocations: 108.9 kB / 451.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-05/0.09698, allocations: 184.3 kB / 451.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.09705, allocations: 180.2 kB / 452 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/0.09711, allocations: 184.3 kB / 452.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.551e-05/0.09719, allocations: 184.2 kB / 452.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.09766, allocations: 1.075 MB / 453.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.09774, allocations: 178.1 kB / 453.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.09782, allocations: 192.2 kB / 453.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.09791, allocations: 101 kB / 453.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.09798, allocations: 180.2 kB / 454.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.09802, allocations: 109 kB / 454.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.09806, allocations: 83.28 kB / 454.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09807, allocations: 3.938 kB / 454.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.09842, allocations: 0 / 454.3 MB, free: 6.137 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.0001055/0.09853, allocations: 166.5 kB / 454.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.245e-05/0.0986, allocations: 7.938 kB / 454.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09861, allocations: 0 / 454.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-06/0.09862, allocations: 4.219 kB / 454.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.09897, allocations: 459.7 kB / 454.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.09916, allocations: 156.2 kB / 455.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.09939, allocations: 0.669 MB / 455.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.457e-05/0.09941, allocations: 0 / 455.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.09944, allocations: 15.44 kB / 455.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09944, allocations: 0 / 455.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Templates: time 0.001733/0.1012, allocations: 173.1 kB / 455.9 MB, free: 4.438 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches