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.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.0007721/0.0007721, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007843/0.0007843, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 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.7876/0.7876, allocations: 158.6 MB / 185 MB, free: 2.984 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.03659/0.03659, allocations: 10.65 MB / 247.9 MB, free: 4.707 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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 369.3 MB, free: 5.922 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.816e-05, allocations: 4.109 kB / 369.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0009034/0.0009215, allocations: 0.4956 MB / 369.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.001148, allocations: 107.6 kB / 369.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.001171, allocations: 0 / 369.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.001185, allocations: 4 kB / 369.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.001424, allocations: 31.78 kB / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.748e-06/0.001428, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.249e-05/0.00146, allocations: 0 / 370 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.001498, allocations: 4 kB / 370 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.001517, allocations: 0 / 370 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.001616, allocations: 11.98 kB / 370 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.001621, allocations: 4 kB / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-06/0.001623, allocations: 0 / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.00163, allocations: 0 / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-06/0.001639, allocations: 0 / 370 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.426e-05/0.001673, allocations: 7.922 kB / 370 MB, free: 5.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001675, allocations: 0 / 370 MB, free: 5.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001675, allocations: 3.938 kB / 370 MB, free: 5.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.001679, allocations: 0 / 370 MB, free: 5.254 MB / 298.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.0001962/0.001875, allocations: 234.5 kB / 370.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.001911, allocations: 12.03 kB / 370.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.001946, allocations: 0.9375 kB / 370.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.002026, allocations: 109.8 kB / 370.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.002039, allocations: 384 / 370.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.002048, allocations: 4.375 kB / 370.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.002138, allocations: 43.98 kB / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.002146, allocations: 192 / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.002154, allocations: 384 / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.002158, allocations: 384 / 370.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.002177, allocations: 11.88 kB / 370.4 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.002413, allocations: 411.3 kB / 370.8 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.002469, allocations: 169.2 kB / 371 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.002491, allocations: 88.08 kB / 371 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.002511, allocations: 79.27 kB / 371.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.002541, allocations: 105.8 kB / 371.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.002542, allocations: 0 / 371.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.001e-05/0.002592, allocations: 33.64 kB / 371.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.002633, allocations: 130.7 kB / 371.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.002695, allocations: 101.8 kB / 371.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.002703, allocations: 25.7 kB / 371.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.002735, allocations: 88.03 kB / 371.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.002737, allocations: 128 / 371.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.002761, allocations: 21.72 kB / 371.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.002829, allocations: 310.8 kB / 371.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.002835, allocations: 3.938 kB / 371.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.002846, allocations: 17.7 kB / 371.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.002872, allocations: 17.72 kB / 372 MB, free: 3.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.002874, allocations: 0 / 372 MB, free: 3.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.513e-05/0.002949, allocations: 41.59 kB / 372 MB, free: 3.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.002961, allocations: 16.06 kB / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.002965, allocations: 0 / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.002975, allocations: 0 / 372 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.00302, allocations: 4 kB / 372 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.003024, allocations: 3.938 kB / 372 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-06/0.003034, allocations: 3.984 kB / 372 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.003039, allocations: 4 kB / 372 MB, free: 3 MB / 298.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 5.746e-05/0.003097, allocations: 185.1 kB / 372.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.003133, allocations: 104.9 kB / 372.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.003164, allocations: 116.1 kB / 372.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/0.003199, allocations: 176.3 kB / 372.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-05/0.003238, allocations: 188.2 kB / 372.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002861/0.003524, allocations: 184.3 kB / 373 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.003637, allocations: 352.8 kB / 373.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.003658, allocations: 105 kB / 373.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.003681, allocations: 108.9 kB / 373.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.599e-05/0.003717, allocations: 176.4 kB / 373.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.003754, allocations: 180.3 kB / 373.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.965e-05/0.003794, allocations: 192.2 kB / 374.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.389e-05/0.003828, allocations: 176.3 kB / 374.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.711e-05/0.003905, allocations: 307.8 kB / 374.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.00393, allocations: 105 kB / 374.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.003975, allocations: 184.2 kB / 374.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.004025, allocations: 108.9 kB / 374.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.004066, allocations: 188.2 kB / 375.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.004087, allocations: 101 kB / 375.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.156e-05/0.004109, allocations: 79.28 kB / 375.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004109, allocations: 0 / 375.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.004239, allocations: 0 / 375.3 MB, free: 15.57 MB / 314.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 7.341e-05/0.004313, allocations: 166.5 kB / 375.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.381e-05/0.004366, allocations: 16.03 kB / 375.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004368, allocations: 3.938 kB / 375.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.004369, allocations: 0 / 375.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.004588, allocations: 459.7 kB / 375.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.004757, allocations: 181.9 kB / 376.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.004791, allocations: 59.22 kB / 376.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.004807, allocations: 8.5 kB / 376.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004807, allocations: 0 / 376.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of Templates: time 0.001046/0.005854, allocations: 356 kB / 376.5 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerGrids_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_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: 3.865909595042467]