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.001588/0.001588, allocations: 88.22 kB / 20.95 MB, free: 3.598 MB / 18.57 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.001513/0.001513, allocations: 169 kB / 24.26 MB, free: 296 kB / 18.57 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 0.8874/0.8874, allocations: 158.6 MB / 186.1 MB, free: 2.543 MB / 170.7 MB " [Timeout remaining time 179] 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.05318/0.05318, allocations: 10.65 MB / 249 MB, free: 4.496 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 317.8 MB, free: 42.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.794e-05, allocations: 7.078 kB / 317.8 MB, free: 42.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.000919/0.0009369, allocations: 0.4951 MB / 318.3 MB, free: 41.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.001161, allocations: 111.6 kB / 318.4 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.001186, allocations: 0 / 318.4 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.001201, allocations: 0 / 318.4 MB, free: 41.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.001425, allocations: 31.8 kB / 318.4 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.001428, allocations: 0 / 318.4 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.184e-05/0.00146, allocations: 0 / 318.4 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.001495, allocations: 4 kB / 318.4 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.001515, allocations: 3.984 kB / 318.4 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.001619, allocations: 11.98 kB / 318.4 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5e-06/0.001624, allocations: 0 / 318.4 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-06/0.001627, allocations: 0 / 318.4 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-06/0.001633, allocations: 0 / 318.4 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-06/0.001642, allocations: 4 kB / 318.4 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.323e-05/0.001676, allocations: 7.938 kB / 318.5 MB, free: 41.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.001678, allocations: 3.938 kB / 318.5 MB, free: 41.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001678, allocations: 0 / 318.5 MB, free: 41.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.001682, allocations: 0 / 318.5 MB, free: 41.69 MB / 282.7 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.0001543/0.001836, allocations: 340.4 kB / 318.8 MB, free: 41.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.001868, allocations: 8.031 kB / 318.8 MB, free: 41.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.001897, allocations: 3.344 kB / 318.8 MB, free: 41.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.88e-05/0.001936, allocations: 104.6 kB / 318.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.001946, allocations: 8.359 kB / 318.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.001953, allocations: 4.375 kB / 318.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.002035, allocations: 49.64 kB / 319 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.002043, allocations: 192 / 319 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.002051, allocations: 384 / 319 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.002059, allocations: 384 / 319 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.002076, allocations: 15.86 kB / 319 MB, free: 41.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.002288, allocations: 0.5831 MB / 319.6 MB, free: 40.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.002337, allocations: 273.4 kB / 319.8 MB, free: 40.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.002357, allocations: 126.9 kB / 320 MB, free: 40.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.002368, allocations: 119.2 kB / 320.1 MB, free: 39.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.002389, allocations: 160.6 kB / 320.2 MB, free: 39.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.00239, allocations: 0 / 320.2 MB, free: 39.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.432e-05/0.002445, allocations: 33.62 kB / 320.3 MB, free: 39.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.002472, allocations: 170.6 kB / 320.4 MB, free: 39.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.002529, allocations: 161.9 kB / 320.6 MB, free: 39.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-06/0.002533, allocations: 25.7 kB / 320.6 MB, free: 39.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.002555, allocations: 131.2 kB / 320.7 MB, free: 39.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.002557, allocations: 3.938 kB / 320.7 MB, free: 39.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.002578, allocations: 19.38 kB / 320.8 MB, free: 39.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.002613, allocations: 496.1 kB / 321.2 MB, free: 38.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.00262, allocations: 8.125 kB / 321.3 MB, free: 38.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.00263, allocations: 19.38 kB / 321.3 MB, free: 38.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.002654, allocations: 19.38 kB / 321.3 MB, free: 38.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.002656, allocations: 0 / 321.3 MB, free: 38.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.848e-05/0.002724, allocations: 37.64 kB / 321.3 MB, free: 38.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.002736, allocations: 15.92 kB / 321.3 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.00274, allocations: 1.016 kB / 321.3 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.002751, allocations: 0 / 321.3 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.002793, allocations: 16.06 kB / 321.4 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.002798, allocations: 0 / 321.4 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.002807, allocations: 3.953 kB / 321.4 MB, free: 38.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.00281, allocations: 4 kB / 321.4 MB, free: 38.54 MB / 282.7 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 3.721e-05/0.002847, allocations: 271.8 kB / 321.6 MB, free: 38.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.002868, allocations: 152.8 kB / 321.8 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.002891, allocations: 156 kB / 321.9 MB, free: 37.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.002909, allocations: 272.1 kB / 322.2 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.00293, allocations: 272.1 kB / 322.5 MB, free: 37.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.002947, allocations: 264.1 kB / 322.7 MB, free: 37.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.5e-05/0.003022, allocations: 0.4959 MB / 323.2 MB, free: 36.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.003033, allocations: 144.9 kB / 323.4 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.003045, allocations: 148.8 kB / 323.5 MB, free: 36.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.003064, allocations: 272.1 kB / 323.8 MB, free: 36.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.003084, allocations: 268.1 kB / 324 MB, free: 35.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.003103, allocations: 272 kB / 324.3 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/0.003121, allocations: 272.1 kB / 324.6 MB, free: 35.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.003292, allocations: 1.614 MB / 326.2 MB, free: 33.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.003308, allocations: 148.9 kB / 326.3 MB, free: 33.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.003334, allocations: 272 kB / 326.6 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.003368, allocations: 148.9 kB / 326.7 MB, free: 32.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.003392, allocations: 272.1 kB / 327 MB, free: 32.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.003403, allocations: 148.8 kB / 327.1 MB, free: 32.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.78e-05/0.00342, allocations: 123.2 kB / 327.3 MB, free: 32.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00342, allocations: 0 / 327.3 MB, free: 32.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.003624, allocations: 3.938 kB / 327.3 MB, free: 32.38 MB / 282.7 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 5.319e-05/0.003677, allocations: 210.4 kB / 327.5 MB, free: 32.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.638e-05/0.003734, allocations: 15.69 kB / 327.5 MB, free: 32.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.003735, allocations: 0 / 327.5 MB, free: 32.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.003738, allocations: 12.14 kB / 327.5 MB, free: 32.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.003914, allocations: 0.7002 MB / 328.2 MB, free: 31.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000142/0.004056, allocations: 209.1 kB / 328.4 MB, free: 31.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.831e-05/0.004074, allocations: 51.36 kB / 328.5 MB, free: 31.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.464e-05/0.004088, allocations: 0 / 328.5 MB, free: 31.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.004104, allocations: 12.5 kB / 328.5 MB, free: 31.11 MB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.004104, allocations: 0 / 328.5 MB, free: 31.11 MB / 282.7 MB Notification: Performance of Templates: time 0.001242/0.005346, allocations: 214.2 kB / 328.7 MB, free: 30.91 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.677134379046038]