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.001141/0.001141, allocations: 104.1 kB / 15.88 MB, free: 4 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.001054/0.001054, allocations: 201.5 kB / 16.8 MB, free: 6.824 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.166/1.166, allocations: 205.1 MB / 222.6 MB, free: 5.031 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0551/0.0551, allocations: 14.16 MB / 284.1 MB, free: 7.586 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.001266/0.001266, allocations: 68.12 kB / 345 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0685/0.06978, allocations: 50.13 MB / 395.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00144/0.07125, allocations: 0.5507 MB / 395.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.07154, allocations: 119.6 kB / 395.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-06/0.07156, allocations: 0 / 395.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.07159, allocations: 0 / 395.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.07178, allocations: 23.91 kB / 395.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.934e-06/0.07179, allocations: 0 / 395.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 1.982e-05/0.07181, allocations: 4 kB / 395.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.913e-05/0.07185, allocations: 0 / 395.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.032e-05/0.07186, allocations: 4 kB / 395.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.07195, allocations: 11.98 kB / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-06/0.07196, allocations: 0 / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-06/0.07197, allocations: 0 / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.07198, allocations: 7.984 kB / 395.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.457e-06/0.07199, allocations: 3.938 kB / 395.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.147e-05/0.07202, allocations: 4 kB / 395.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.07203, allocations: 0 / 395.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.07203, allocations: 0 / 395.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.07204, allocations: 0 / 395.9 MB, free: 1.008 MB / 286.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.0002283/0.07227, allocations: 311.6 kB / 396.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.07231, allocations: 8.031 kB / 396.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.07234, allocations: 0.9375 kB / 396.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.07243, allocations: 176.3 kB / 396.4 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.07244, allocations: 4.375 kB / 396.4 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-06/0.07246, allocations: 4.375 kB / 396.4 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.3e-05/0.07253, allocations: 39.98 kB / 396.4 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.07255, allocations: 192 / 396.4 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.07256, allocations: 3.938 kB / 396.4 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.07256, allocations: 0 / 396.4 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.07258, allocations: 7.938 kB / 396.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.07287, allocations: 467.7 kB / 396.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.07295, allocations: 169.1 kB / 397.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.07298, allocations: 80.14 kB / 397.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.07302, allocations: 75.28 kB / 397.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.07306, allocations: 113.8 kB / 397.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.07307, allocations: 4.031 kB / 397.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.457e-05/0.07312, allocations: 29.69 kB / 397.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.07318, allocations: 126.7 kB / 397.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.07325, allocations: 101.8 kB / 397.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.07327, allocations: 29.64 kB / 397.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.07331, allocations: 84.36 kB / 397.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.07332, allocations: 128 / 397.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.07335, allocations: 25.62 kB / 397.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.07345, allocations: 314.8 kB / 398 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.07346, allocations: 0 / 398 MB, free: 14.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.07348, allocations: 21.66 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.07351, allocations: 13.72 kB / 398.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.07352, allocations: 8 kB / 398.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.533e-05/0.07361, allocations: 41.64 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.07363, allocations: 7.984 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.07364, allocations: 0 / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.07365, allocations: 4 kB / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.07369, allocations: 0 / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.0737, allocations: 0 / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.07372, allocations: 4 kB / 398.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.07373, allocations: 0 / 398.1 MB, free: 14.53 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 7.901e-05/0.07381, allocations: 193.1 kB / 398.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.07387, allocations: 112.9 kB / 398.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.07391, allocations: 108.1 kB / 398.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-05/0.07397, allocations: 176.3 kB / 398.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.07403, allocations: 184.2 kB / 398.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-05/0.07409, allocations: 184.2 kB / 399.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.07429, allocations: 409.1 kB / 399.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/0.07432, allocations: 101 kB / 399.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.07436, allocations: 105 kB / 399.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.965e-05/0.07442, allocations: 180.2 kB / 399.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.07448, allocations: 180.3 kB / 400 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.07454, allocations: 188.2 kB / 400.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-05/0.0746, allocations: 184.3 kB / 400.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.07489, allocations: 0.8378 MB / 401.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.07496, allocations: 190 kB / 401.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.07503, allocations: 176.3 kB / 401.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.0751, allocations: 108.9 kB / 401.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.07517, allocations: 184.2 kB / 401.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.07521, allocations: 105 kB / 402 MB, free: 10.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.07524, allocations: 79.22 kB / 402 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07525, allocations: 4.094 kB / 402 MB, free: 10.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000302/0.07556, allocations: 4 kB / 402 MB, free: 10.34 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.143e-05/0.07564, allocations: 170.4 kB / 402.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.176e-05/0.07569, allocations: 4 kB / 402.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.0757, allocations: 0 / 402.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-06/0.0757, allocations: 3.984 kB / 402.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.07603, allocations: 0.5265 MB / 402.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001511/0.07618, allocations: 150 kB / 402.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.07641, allocations: 0.6731 MB / 403.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.245e-05/0.07643, allocations: 0 / 403.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.07644, allocations: 7.438 kB / 403.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.07645, allocations: 0 / 403.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of Templates: time 0.001399/0.07785, allocations: 177 kB / 403.7 MB, free: 8.566 MB / 302.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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches