Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.001883/0.001883, allocations: 88.83 kB / 19.44 MB, free: 352 kB / 13.93 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.002423/0.002423, allocations: 157.3 kB / 22.75 MB, free: 1.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.09096/0.09096, allocations: 12.72 MB / 272.3 MB, free: 0.7734 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 345.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.251e-05, allocations: 2.312 kB / 345.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00113/0.001152, allocations: 0.4919 MB / 346.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.001397, allocations: 107.6 kB / 346.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.001423, allocations: 0 / 346.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.001433, allocations: 0 / 346.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.001662, allocations: 23.86 kB / 346.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.001665, allocations: 0 / 346.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.776e-05/0.001693, allocations: 3.938 kB / 346.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.001727, allocations: 0 / 346.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.001743, allocations: 4 kB / 346.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.001855, allocations: 23.91 kB / 346.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-06/0.001862, allocations: 4 kB / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-06/0.001865, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.001871, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.001893, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.223e-05/0.001926, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.001927, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.001927, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.00193, allocations: 0 / 346.6 MB, free: 1.688 MB / 266.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.0001703/0.002101, allocations: 230.5 kB / 346.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.002133, allocations: 20.02 kB / 346.8 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.002169, allocations: 0.9375 kB / 346.8 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.342e-05/0.002212, allocations: 101.8 kB / 346.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.002224, allocations: 4.375 kB / 346.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.002231, allocations: 4.375 kB / 347 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.002304, allocations: 39.98 kB / 347 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.002312, allocations: 4.125 kB / 347 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.002318, allocations: 4.312 kB / 347 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.002322, allocations: 384 / 347 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.002337, allocations: 7.938 kB / 347 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.002519, allocations: 415.3 kB / 347.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/0.002561, allocations: 177.1 kB / 347.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.002577, allocations: 80.14 kB / 347.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.002591, allocations: 75.28 kB / 347.7 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.002613, allocations: 105.8 kB / 347.8 MB, free: 324 kB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.002614, allocations: 0 / 347.8 MB, free: 324 kB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.25e-05/0.002676, allocations: 33.64 kB / 347.9 MB, free: 284 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.002706, allocations: 134.6 kB / 348 MB, free: 136 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.002761, allocations: 97.86 kB / 348.1 MB, free: 28 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.002791, allocations: 29.83 kB / 348.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.002849, allocations: 84.09 kB / 348.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.002851, allocations: 0 / 348.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.002883, allocations: 13.72 kB / 348.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.003052, allocations: 310.8 kB / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.003066, allocations: 7.984 kB / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.003083, allocations: 13.72 kB / 348.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.003115, allocations: 13.72 kB / 348.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.003117, allocations: 0 / 348.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.003225, allocations: 45.7 kB / 348.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.003244, allocations: 13.81 kB / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.003248, allocations: 0 / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.003264, allocations: 0 / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.003312, allocations: 7.984 kB / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.003317, allocations: 0 / 348.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.003334, allocations: 7.891 kB / 348.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.003341, allocations: 4 kB / 348.6 MB, free: 15.45 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 0.0001223/0.003463, allocations: 185.1 kB / 348.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.003541, allocations: 105 kB / 348.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.003611, allocations: 120.1 kB / 349 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.003719, allocations: 184.2 kB / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001025/0.003821, allocations: 184.3 kB / 349.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-05/0.003918, allocations: 180.2 kB / 349.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.004182, allocations: 356.8 kB / 349.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.017e-05/0.004242, allocations: 105 kB / 350 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.004302, allocations: 104.9 kB / 350.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.48e-05/0.004397, allocations: 176.4 kB / 350.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/0.004496, allocations: 184.2 kB / 350.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001014/0.004598, allocations: 184.2 kB / 350.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001126/0.00471, allocations: 184.3 kB / 350.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.004899, allocations: 307.8 kB / 351.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.004964, allocations: 104.9 kB / 351.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.005071, allocations: 180.3 kB / 351.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.005172, allocations: 108.9 kB / 351.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.005282, allocations: 188.2 kB / 351.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.00534, allocations: 105 kB / 351.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.063e-05/0.005391, allocations: 75.28 kB / 351.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005391, allocations: 0 / 351.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000246/0.005637, allocations: 0 / 351.9 MB, free: 12.01 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 0.0001372/0.005774, allocations: 170.6 kB / 352.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.282e-05/0.005837, allocations: 11.92 kB / 352.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005838, allocations: 0 / 352.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.005839, allocations: 0 / 352.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.00628, allocations: 467.6 kB / 352.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.006518, allocations: 158.9 kB / 352.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.006576, allocations: 51.36 kB / 352.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.006595, allocations: 7.938 kB / 352.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.006621, allocations: 12.62 kB / 352.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.006621, allocations: 0 / 352.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of Templates: time 0.002173/0.008794, allocations: 193 kB / 352.9 MB, free: 10.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_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.487266281968914]