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.0009934/0.0009934, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001395/0.001395, allocations: 169 kB / 24.06 MB, free: 452 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.8175/0.8175, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.03941/0.03941, allocations: 10.66 MB / 249 MB, free: 4.293 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.433e-06/1.433e-06, allocations: 0 / 318.2 MB, free: 41.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.648e-05, allocations: 3.516 kB / 318.2 MB, free: 41.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0009331/0.0009496, allocations: 0.4979 MB / 318.7 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.00118, allocations: 111.7 kB / 318.8 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.001206, allocations: 0 / 318.8 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.001221, allocations: 3.938 kB / 318.8 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.00145, allocations: 23.86 kB / 318.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.434e-06/0.001452, allocations: 4 kB / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.843e-05/0.00148, allocations: 0 / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.001517, allocations: 4 kB / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.001536, allocations: 3.938 kB / 318.9 MB, free: 41.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.001633, allocations: 19.97 kB / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-06/0.001637, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-06/0.00164, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.001648, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-06/0.001657, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.243e-05/0.001689, allocations: 0 / 318.9 MB, free: 41.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.001692, allocations: 4 kB / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001692, allocations: 0 / 318.9 MB, free: 41.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.001696, allocations: 0 / 318.9 MB, free: 41.08 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.0001458/0.001842, allocations: 332.4 kB / 319.2 MB, free: 40.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.001876, allocations: 12.03 kB / 319.2 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.001898, allocations: 3.344 kB / 319.2 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.856e-05/0.001937, allocations: 104.6 kB / 319.3 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.001947, allocations: 8.359 kB / 319.4 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.001952, allocations: 384 / 319.4 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.981e-05/0.002012, allocations: 57.56 kB / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.002018, allocations: 4.188 kB / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.002025, allocations: 384 / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.002028, allocations: 384 / 319.4 MB, free: 40.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.114e-05/0.002039, allocations: 7.938 kB / 319.4 MB, free: 40.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.002198, allocations: 0.5681 MB / 320 MB, free: 39.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.002242, allocations: 277.3 kB / 320.3 MB, free: 39.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.002254, allocations: 126.9 kB / 320.4 MB, free: 39.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.002264, allocations: 119.2 kB / 320.5 MB, free: 39.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.002284, allocations: 152.6 kB / 320.7 MB, free: 39.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.002284, allocations: 0 / 320.7 MB, free: 39.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.437e-05/0.002329, allocations: 41.58 kB / 320.7 MB, free: 39.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.002357, allocations: 170.6 kB / 320.9 MB, free: 38.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.002403, allocations: 165.8 kB / 321 MB, free: 38.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-06/0.002406, allocations: 25.7 kB / 321 MB, free: 38.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.002432, allocations: 131.2 kB / 321.2 MB, free: 38.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.002434, allocations: 0 / 321.2 MB, free: 38.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.002455, allocations: 23.38 kB / 321.2 MB, free: 38.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.002496, allocations: 492.1 kB / 321.7 MB, free: 38.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.002501, allocations: 0 / 321.7 MB, free: 38.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.002512, allocations: 22 kB / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.002537, allocations: 27.38 kB / 321.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002538, allocations: 0 / 321.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.114e-05/0.002599, allocations: 37.69 kB / 321.8 MB, free: 38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.002611, allocations: 4 kB / 321.8 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.002615, allocations: 4 kB / 321.8 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.002622, allocations: 3.938 kB / 321.8 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.002658, allocations: 4 kB / 321.8 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.002661, allocations: 3.938 kB / 321.8 MB, free: 37.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.002669, allocations: 8.016 kB / 321.8 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.002673, allocations: 0 / 321.8 MB, free: 37.97 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 4.173e-05/0.002714, allocations: 287.7 kB / 322.1 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.002737, allocations: 144.9 kB / 322.2 MB, free: 37.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.002762, allocations: 152 kB / 322.4 MB, free: 37.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.002782, allocations: 276.1 kB / 322.6 MB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/0.002801, allocations: 264.1 kB / 322.9 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.002823, allocations: 268 kB / 323.1 MB, free: 36.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.307e-05/0.002906, allocations: 492.5 kB / 323.6 MB, free: 36.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.002919, allocations: 148.8 kB / 323.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.00293, allocations: 152.9 kB / 323.9 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/0.002949, allocations: 264.1 kB / 324.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.00297, allocations: 272 kB / 324.4 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.00299, allocations: 272.6 kB / 324.7 MB, free: 34.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-05/0.003011, allocations: 268 kB / 325 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.335e-05/0.003064, allocations: 444 kB / 325.4 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.003085, allocations: 156.8 kB / 325.6 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.003109, allocations: 264.1 kB / 325.8 MB, free: 33.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.00314, allocations: 149.9 kB / 326 MB, free: 33.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.003163, allocations: 272 kB / 326.2 MB, free: 33.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.003175, allocations: 144.9 kB / 326.4 MB, free: 33.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.738e-05/0.003192, allocations: 139.1 kB / 326.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003192, allocations: 0 / 326.5 MB, free: 33.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.003318, allocations: 0 / 326.5 MB, free: 33.06 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.372e-05/0.003372, allocations: 210.4 kB / 326.7 MB, free: 32.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.554e-05/0.003417, allocations: 11.69 kB / 326.7 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.003419, allocations: 4 kB / 326.7 MB, free: 32.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.00342, allocations: 0 / 326.7 MB, free: 32.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.00359, allocations: 0.7012 MB / 327.4 MB, free: 32.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001183/0.003708, allocations: 220.4 kB / 327.6 MB, free: 31.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.646e-05/0.003725, allocations: 51.36 kB / 327.7 MB, free: 31.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.409e-05/0.003739, allocations: 0 / 327.7 MB, free: 31.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.003759, allocations: 70.2 kB / 327.8 MB, free: 31.73 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003759, allocations: 0 / 327.8 MB, free: 31.73 MB / 282.7 MB Notification: Performance of Templates: time 0.001288/0.005048, allocations: 209.1 kB / 328 MB, free: 31.54 MB / 282.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=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.796871678903699]