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.001306/0.001306, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001685/0.001685, allocations: 165.6 kB / 22.45 MB, free: 5.375 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.295/1.295, allocations: 158.6 MB / 184.2 MB, free: 6.387 MB / 174.1 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.06297/0.06297, allocations: 10.65 MB / 247.1 MB, free: 8.484 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_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.052e-06/1.052e-06, allocations: 0 / 368.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.964e-05, allocations: 6.219 kB / 368.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001318/0.001338, allocations: 497.1 kB / 369.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.001619, allocations: 111.6 kB / 369.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.001642, allocations: 0 / 369.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.001655, allocations: 0 / 369.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.001885, allocations: 23.92 kB / 369.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.001888, allocations: 0 / 369.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 2.822e-05/0.001916, allocations: 0 / 369.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.001962, allocations: 7.984 kB / 369.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.001979, allocations: 7.875 kB / 369.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.002079, allocations: 7.984 kB / 369.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-06/0.002084, allocations: 4 kB / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.002087, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-06/0.002092, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-06/0.0021, allocations: 4 kB / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.809e-05/0.002128, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002129, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.6e-07/0.00213, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.002137, allocations: 0 / 369.2 MB, free: 12.02 MB / 302.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.0002718/0.002409, allocations: 238.4 kB / 369.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.002444, allocations: 12.03 kB / 369.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.002473, allocations: 8.938 kB / 369.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.002553, allocations: 101.8 kB / 369.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.002561, allocations: 384 / 369.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.002573, allocations: 4.375 kB / 369.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.002676, allocations: 43.98 kB / 369.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.002684, allocations: 192 / 369.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.00269, allocations: 384 / 369.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002694, allocations: 8.25 kB / 369.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.002714, allocations: 7.938 kB / 369.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.003051, allocations: 415.3 kB / 370.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.003152, allocations: 173 kB / 370.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.003194, allocations: 84.17 kB / 370.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.003231, allocations: 75.28 kB / 370.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.003282, allocations: 109.8 kB / 370.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.003283, allocations: 0 / 370.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.942e-05/0.003352, allocations: 33.62 kB / 370.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.003423, allocations: 130.7 kB / 370.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.00352, allocations: 101.8 kB / 370.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.003536, allocations: 25.7 kB / 370.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.003588, allocations: 84.09 kB / 370.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.00359, allocations: 0 / 370.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.00362, allocations: 13.72 kB / 370.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.003758, allocations: 314.8 kB / 371.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.003769, allocations: 4.109 kB / 371.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.003787, allocations: 17.72 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.003814, allocations: 13.72 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003816, allocations: 0 / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.003924, allocations: 45.59 kB / 371.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.003937, allocations: 7.938 kB / 371.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.003944, allocations: 4 kB / 371.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.003956, allocations: 0 / 371.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.004004, allocations: 12.11 kB / 371.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.004007, allocations: 0 / 371.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.004021, allocations: 0 / 371.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.004025, allocations: 0 / 371.3 MB, free: 9.773 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 0.0001067/0.004132, allocations: 185.1 kB / 371.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.004202, allocations: 108.9 kB / 371.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.004265, allocations: 112.1 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-05/0.004346, allocations: 192.2 kB / 371.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-05/0.004429, allocations: 176.3 kB / 372 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-05/0.004513, allocations: 180.3 kB / 372.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.004745, allocations: 352.8 kB / 372.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.398e-05/0.004799, allocations: 113 kB / 372.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.004843, allocations: 104.9 kB / 372.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.004924, allocations: 176.3 kB / 372.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/0.005008, allocations: 180.3 kB / 373.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.374e-05/0.005091, allocations: 188.1 kB / 373.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.739e-05/0.005169, allocations: 188.5 kB / 373.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.005338, allocations: 303.8 kB / 373.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.005389, allocations: 112.9 kB / 373.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.005476, allocations: 180.2 kB / 374.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.005561, allocations: 108.9 kB / 374.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.005657, allocations: 192.2 kB / 374.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.005709, allocations: 101 kB / 374.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.005748, allocations: 79.28 kB / 374.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.005748, allocations: 0 / 374.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.005977, allocations: 0 / 374.5 MB, free: 6.328 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 0.0001162/0.006093, allocations: 166.5 kB / 374.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.006156, allocations: 11.92 kB / 374.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006157, allocations: 0 / 374.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.006158, allocations: 224 / 374.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.006572, allocations: 470.8 kB / 375.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.006779, allocations: 156.2 kB / 375.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.006838, allocations: 55.36 kB / 375.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.006852, allocations: 3.984 kB / 375.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.006869, allocations: 8.5 kB / 375.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.00687, allocations: 0 / 375.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of Templates: time 0.001922/0.008792, allocations: 181.2 kB / 375.6 MB, free: 5.242 MB / 302.1 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: 4.025247260928154]