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.001543/0.001543, allocations: 84.56 kB / 19.95 MB, free: 1.77 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.001448/0.001448, allocations: 161.8 kB / 23.22 MB, free: 4.902 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.328/1.328, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.06285/0.06285, allocations: 10.65 MB / 247.9 MB, free: 10.42 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_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.452e-06/1.452e-06, allocations: 0 / 369.3 MB, free: 20.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.731e-05, allocations: 2.281 kB / 369.3 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001168/0.001195, allocations: 488 kB / 369.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.001482, allocations: 123.9 kB / 369.9 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.00151, allocations: 0 / 369.9 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.001527, allocations: 4 kB / 369.9 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.001774, allocations: 23.86 kB / 370 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.001778, allocations: 0 / 370 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.722e-05/0.001815, allocations: 0 / 370 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.00187, allocations: 7.984 kB / 370 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.001889, allocations: 0 / 370 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.002014, allocations: 12 kB / 370 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.00202, allocations: 0 / 370 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.002023, allocations: 0 / 370 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-06/0.00203, allocations: 3.938 kB / 370 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.628e-06/0.00204, allocations: 0 / 370 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.548e-05/0.002075, allocations: 3.984 kB / 370 MB, free: 20.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002077, allocations: 0 / 370 MB, free: 20.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002078, allocations: 0 / 370 MB, free: 20.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.002082, allocations: 4 kB / 370 MB, free: 20.34 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.0002064/0.002288, allocations: 238.5 kB / 370.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.002325, allocations: 8.031 kB / 370.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.002354, allocations: 4.938 kB / 370.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.363e-05/0.002407, allocations: 101.8 kB / 370.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.002421, allocations: 4.375 kB / 370.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.002428, allocations: 384 / 370.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.002519, allocations: 47.92 kB / 370.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.002529, allocations: 192 / 370.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.002536, allocations: 384 / 370.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.00254, allocations: 384 / 370.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.002559, allocations: 11.92 kB / 370.4 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.002781, allocations: 411.3 kB / 370.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.002826, allocations: 173.2 kB / 371 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.002843, allocations: 80.14 kB / 371.1 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.002854, allocations: 75.28 kB / 371.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.002879, allocations: 113.8 kB / 371.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.00288, allocations: 4 kB / 371.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.166e-05/0.002942, allocations: 37.52 kB / 371.3 MB, free: 18.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.002972, allocations: 126.7 kB / 371.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.003034, allocations: 93.86 kB / 371.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-06/0.003039, allocations: 25.7 kB / 371.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.003063, allocations: 92.03 kB / 371.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.003065, allocations: 4.125 kB / 371.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.003089, allocations: 17.7 kB / 371.6 MB, free: 18.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.003131, allocations: 310.8 kB / 371.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.00314, allocations: 7.938 kB / 371.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.003149, allocations: 13.72 kB / 372 MB, free: 18.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.003173, allocations: 17.66 kB / 372 MB, free: 18.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.003174, allocations: 0 / 372 MB, free: 18.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.533e-05/0.003259, allocations: 41.64 kB / 372 MB, free: 18.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.003271, allocations: 16.06 kB / 372 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.003275, allocations: 0 / 372 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.003289, allocations: 3.938 kB / 372 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.003332, allocations: 4 kB / 372 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.003336, allocations: 0 / 372 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.00335, allocations: 4 kB / 372 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.003355, allocations: 8 kB / 372 MB, free: 18.08 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 4.802e-05/0.003403, allocations: 183.1 kB / 372.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.003439, allocations: 109 kB / 372.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.003462, allocations: 116 kB / 372.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.003485, allocations: 180.3 kB / 372.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/0.003511, allocations: 184.3 kB / 372.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.003535, allocations: 180.2 kB / 373 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.003653, allocations: 356.9 kB / 373.3 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.003667, allocations: 104.9 kB / 373.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.00368, allocations: 101 kB / 373.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.003702, allocations: 180.3 kB / 373.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.003727, allocations: 184.2 kB / 373.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-05/0.003748, allocations: 184.2 kB / 374.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.182e-05/0.00377, allocations: 184.2 kB / 374.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.003951, allocations: 1.067 MB / 375.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.003969, allocations: 112.9 kB / 375.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.003997, allocations: 180.3 kB / 375.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.004046, allocations: 105 kB / 375.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.004075, allocations: 184.2 kB / 375.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.004087, allocations: 101 kB / 376 MB, free: 13.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.611e-05/0.004103, allocations: 75.28 kB / 376 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.004103, allocations: 4 kB / 376.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.004416, allocations: 3.938 kB / 376.1 MB, free: 13.84 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 6.322e-05/0.004479, allocations: 170.6 kB / 376.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.856e-05/0.004547, allocations: 19.92 kB / 376.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.00455, allocations: 7.938 kB / 376.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.004551, allocations: 0 / 376.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.00479, allocations: 455 kB / 376.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.004966, allocations: 160.3 kB / 376.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.004995, allocations: 55.36 kB / 376.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.005009, allocations: 0 / 376.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.005025, allocations: 8.5 kB / 376.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.005025, allocations: 4.125 kB / 376.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.002253/0.007279, allocations: 197 kB / 377.1 MB, free: 12.73 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.16301453858614]