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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 104.3 kB / 20.5 MB, free: 1.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 221.9 kB / 23.8 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.7 MB / 234.7 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06873/0.06873, allocations: 14.38 MB / 301.3 MB, free: 7.23 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 75.88 kB / 422.7 MB, free: 38.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.09031, allocations: 52.9 MB / 475.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001525/0.09183, allocations: 492.3 kB / 476.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.09217, allocations: 120 kB / 476.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.0922, allocations: 0 / 476.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.09221, allocations: 3.938 kB / 476.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.09246, allocations: 19.92 kB / 476.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.09246, allocations: 0 / 476.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.677e-05/0.09249, allocations: 0 / 476.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.09254, allocations: 4 kB / 476.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.09255, allocations: 7.938 kB / 476.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.09266, allocations: 11.98 kB / 476.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-06/0.09267, allocations: 0 / 476.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-06/0.09267, allocations: 0 / 476.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.09268, allocations: 0 / 476.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.191e-05/0.09269, allocations: 3.938 kB / 476.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/0.09274, allocations: 4 kB / 476.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09275, allocations: 0 / 476.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09275, allocations: 0 / 476.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09275, allocations: 0 / 476.2 MB, free: 0.9336 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.0002725/0.09302, allocations: 242.4 kB / 476.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.09306, allocations: 12.03 kB / 476.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.09309, allocations: 4.938 kB / 476.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.09316, allocations: 102.5 kB / 476.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.09317, allocations: 384 / 476.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.09318, allocations: 4.375 kB / 476.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.09328, allocations: 51.91 kB / 476.6 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.09329, allocations: 192 / 476.6 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.0933, allocations: 3.938 kB / 476.6 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.09331, allocations: 0 / 476.6 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.09333, allocations: 8 kB / 476.7 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.0937, allocations: 407.3 kB / 477 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.09383, allocations: 181.1 kB / 477.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.09387, allocations: 84.08 kB / 477.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.0939, allocations: 75.28 kB / 477.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.09396, allocations: 105.8 kB / 477.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.09396, allocations: 0 / 477.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.764e-05/0.09403, allocations: 29.7 kB / 477.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.0941, allocations: 130.6 kB / 477.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.09418, allocations: 101.8 kB / 477.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.0942, allocations: 29.83 kB / 477.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.09424, allocations: 88.08 kB / 477.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.09425, allocations: 3.984 kB / 477.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.09428, allocations: 13.72 kB / 477.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.09442, allocations: 318.8 kB / 478.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.09443, allocations: 0 / 478.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.09444, allocations: 13.72 kB / 478.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.09448, allocations: 17.66 kB / 478.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09448, allocations: 64 / 478.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.09458, allocations: 53.56 kB / 478.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.0946, allocations: 9.562 kB / 478.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.0946, allocations: 0 / 478.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.09462, allocations: 0 / 478.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.09467, allocations: 4 kB / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.09467, allocations: 0 / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.09468, allocations: 0 / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.09469, allocations: 4 kB / 478.3 MB, free: 14.68 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 0.000109/0.0948, allocations: 185.1 kB / 478.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.09487, allocations: 113 kB / 478.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.09493, allocations: 112.1 kB / 478.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.09502, allocations: 180.2 kB / 478.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/0.09509, allocations: 176.3 kB / 479 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.203e-05/0.09518, allocations: 188.2 kB / 479.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.09539, allocations: 348.9 kB / 479.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.09544, allocations: 113 kB / 479.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.09549, allocations: 108.9 kB / 479.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.839e-05/0.09557, allocations: 176.3 kB / 479.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.119e-05/0.09566, allocations: 188.2 kB / 480.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001479/0.09581, allocations: 176.3 kB / 480.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.173e-05/0.09589, allocations: 184.3 kB / 480.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.09648, allocations: 1.075 MB / 481.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.0966, allocations: 101 kB / 481.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.0967, allocations: 192.2 kB / 481.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.09679, allocations: 101 kB / 481.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.09689, allocations: 192.1 kB / 482.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.09694, allocations: 101 kB / 482.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.063e-05/0.09699, allocations: 75.28 kB / 482.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09699, allocations: 0 / 482.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.09735, allocations: 4.094 kB / 482.3 MB, free: 10.42 MB / 350.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.0001308/0.09748, allocations: 170.5 kB / 482.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.09756, allocations: 11.88 kB / 482.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.09756, allocations: 0 / 482.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.09757, allocations: 4 kB / 482.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.09798, allocations: 459.7 kB / 482.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.09827, allocations: 160.1 kB / 483.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.09834, allocations: 59.34 kB / 483.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.09837, allocations: 4.125 kB / 483.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.09839, allocations: 11.38 kB / 483.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.09839, allocations: 0 / 483.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of Templates: time 0.002141/0.1005, allocations: 165.2 kB / 483.3 MB, free: 9.336 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.568562413100153]