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.001647/0.001647, allocations: 96.2 kB / 20.44 MB, free: 4.133 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.002074/0.002074, allocations: 169 kB / 23.81 MB, free: 0.7656 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.9724/0.9724, allocations: 158.6 MB / 185.7 MB, free: 2.508 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.04428/0.04428, allocations: 10.65 MB / 248.7 MB, free: 4.438 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.693e-06/1.693e-06, allocations: 0 / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.089e-05, allocations: 3.078 kB / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001612/0.001643, allocations: 0.5018 MB / 318.3 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003201/0.001963, allocations: 115.6 kB / 318.4 MB, free: 41.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.001987, allocations: 0 / 318.4 MB, free: 41.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.002004, allocations: 0 / 318.4 MB, free: 41.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.002272, allocations: 23.8 kB / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.002275, allocations: 4 kB / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3e-05/0.002305, allocations: 0 / 318.4 MB, free: 41.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.002346, allocations: 8 kB / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.002365, allocations: 3.984 kB / 318.4 MB, free: 41.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.002474, allocations: 8 kB / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.00248, allocations: 0 / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.002483, allocations: 0 / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-06/0.002489, allocations: 0 / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-06/0.002499, allocations: 0 / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.711e-05/0.002536, allocations: 3.938 kB / 318.4 MB, free: 41.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.002538, allocations: 4 kB / 318.4 MB, free: 41.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002539, allocations: 0 / 318.4 MB, free: 41.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.002544, allocations: 0 / 318.4 MB, free: 41.37 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.0001704/0.002714, allocations: 336.4 kB / 318.8 MB, free: 41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.002756, allocations: 12.03 kB / 318.8 MB, free: 40.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.002791, allocations: 8.594 kB / 318.8 MB, free: 40.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.123e-05/0.002833, allocations: 108.6 kB / 318.9 MB, free: 40.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.002845, allocations: 4.375 kB / 318.9 MB, free: 40.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.002856, allocations: 384 / 318.9 MB, free: 40.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.002942, allocations: 49.62 kB / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.002956, allocations: 4.188 kB / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.002966, allocations: 384 / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.002975, allocations: 384 / 319 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.002995, allocations: 11.88 kB / 319 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.003223, allocations: 0.5909 MB / 319.6 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.00327, allocations: 265.5 kB / 319.8 MB, free: 39.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.003287, allocations: 126.9 kB / 319.9 MB, free: 39.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.003299, allocations: 123.1 kB / 320.1 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.003326, allocations: 156.6 kB / 320.2 MB, free: 39.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.003327, allocations: 0 / 320.2 MB, free: 39.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.62e-05/0.003383, allocations: 33.64 kB / 320.3 MB, free: 39.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.003412, allocations: 170.6 kB / 320.4 MB, free: 39.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.003474, allocations: 161.9 kB / 320.6 MB, free: 39.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.00348, allocations: 29.69 kB / 320.6 MB, free: 39.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.003508, allocations: 131.2 kB / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.003511, allocations: 0 / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.003537, allocations: 19.38 kB / 320.8 MB, free: 38.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.003577, allocations: 496.1 kB / 321.2 MB, free: 38.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.003587, allocations: 4 kB / 321.2 MB, free: 38.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.003602, allocations: 21 kB / 321.3 MB, free: 38.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.003634, allocations: 23.44 kB / 321.3 MB, free: 38.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003636, allocations: 0 / 321.3 MB, free: 38.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.255e-05/0.003728, allocations: 45.62 kB / 321.3 MB, free: 38.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.003743, allocations: 11.94 kB / 321.3 MB, free: 38.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.003749, allocations: 5.891 kB / 321.3 MB, free: 38.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.003764, allocations: 0 / 321.3 MB, free: 38.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.003817, allocations: 4 kB / 321.4 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.003822, allocations: 0 / 321.4 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.003842, allocations: 8.016 kB / 321.4 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.003847, allocations: 4 kB / 321.4 MB, free: 38.22 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.884e-05/0.003896, allocations: 275.8 kB / 321.6 MB, free: 37.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.003931, allocations: 148.8 kB / 321.8 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.003963, allocations: 160 kB / 321.9 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.003984, allocations: 268.2 kB / 322.2 MB, free: 37.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.004009, allocations: 272.9 kB / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.004031, allocations: 268.1 kB / 322.7 MB, free: 36.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.004143, allocations: 499.8 kB / 323.2 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.004158, allocations: 148.9 kB / 323.4 MB, free: 36.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.004173, allocations: 148.9 kB / 323.5 MB, free: 35.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/0.004199, allocations: 272 kB / 323.8 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.004225, allocations: 272.1 kB / 324 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-05/0.004247, allocations: 272 kB / 324.3 MB, free: 35.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/0.004269, allocations: 268.1 kB / 324.6 MB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.004495, allocations: 1.622 MB / 326.2 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.004518, allocations: 152.9 kB / 326.3 MB, free: 33.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.004551, allocations: 264.1 kB / 326.6 MB, free: 32.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.004602, allocations: 148.8 kB / 326.7 MB, free: 32.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.00463, allocations: 268.1 kB / 327 MB, free: 32.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.004646, allocations: 148.8 kB / 327.1 MB, free: 32.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.004667, allocations: 123.2 kB / 327.3 MB, free: 32.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004667, allocations: 4 kB / 327.3 MB, free: 32.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.005012, allocations: 7.938 kB / 327.3 MB, free: 32.05 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 7.985e-05/0.005092, allocations: 210.4 kB / 327.5 MB, free: 31.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.005167, allocations: 11.69 kB / 327.5 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.00517, allocations: 4 kB / 327.5 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.005172, allocations: 0 / 327.5 MB, free: 31.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.005441, allocations: 0.7041 MB / 328.2 MB, free: 31.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.00563, allocations: 212.5 kB / 328.4 MB, free: 30.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.005659, allocations: 55.34 kB / 328.5 MB, free: 30.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.898e-05/0.005678, allocations: 0 / 328.5 MB, free: 30.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.005706, allocations: 12.44 kB / 328.5 MB, free: 30.79 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.005706, allocations: 4 kB / 328.5 MB, free: 30.79 MB / 282.7 MB Notification: Performance of Templates: time 0.001908/0.007614, allocations: 202 kB / 328.7 MB, free: 30.59 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: 3.058369734790176]